Bernie07 Posted July 30, 2020 Posted July 30, 2020 Hello, I'm using in a unidbgrid Component the OnFieldImage Event to draw the content. There I'm drawing vertical lines. I Want that the lines are without gap to the next row. But unigui does draw an empty white horizontal border line. So I have between the rows a gap from one pixel. In the options of the unidbgrid I've set dgRowLines to False. You can see this on the example. Is there a way to prevent this. I've tried some things which I've found in the web. But nothing helps. Best wishes Bernhard Quote
Sherzod Posted July 30, 2020 Posted July 30, 2020 9 hours ago, Bernie07 said: I'm using in a unidbgrid Component the OnFieldImage Event to draw the content. There I'm drawing vertical lines. I Want that the lines are without gap to the next row. Hello, Which build are you using? Can you make a simple testcase to reproduce? Best regards, Quote
Bernie07 Posted July 31, 2020 Author Posted July 31, 2020 Thanks for your answer : we are using the version 1.90.0.1502. To reproduce : Use simple OnFieldImage to draw a vertical line like : OutImage := TBitmap.Create; OutImage.SetSize(Column.Width, 20); cCanvas := TBitmap(OutImage).Canvas; cCanvas.Brush.Style := TBrushStyle.bsSolid; cCanvas.Pen.Color := clSilver; cCanvas.MoveTo(100, 0); cCanvas.LineTo (100, 20) You need a table with more than one record, which is connected to the unidbgrid component. In one field (which you want to draw) is ImageOptions set to Visible. Now you should see, that there is a gap between the vertical lines. Best wishes Bernhard Roos Quote
Bernie07 Posted August 10, 2020 Author Posted August 10, 2020 Now I have installed the newest unigui (1535) and recompiled my project. But the problem still exists. Is there really no way to prevent the gap between the lines? Best wishes Bernhard Roos Quote
Sherzod Posted August 10, 2020 Posted August 10, 2020 3 minutes ago, Bernie07 said: Now I have installed the newest unigui (1535) and recompiled my project. But the problem still exists. Is there really no way to prevent the gap between the lines? Hi, Can you please make a simple app? Quote
Bernie07 Posted August 10, 2020 Author Posted August 10, 2020 Here is a test project. UniGUISpielprojekt.zip Quote
Sherzod Posted August 10, 2020 Posted August 10, 2020 1 hour ago, Bernie07 said: Here is a test project. UniGUISpielprojekt.zip Can you try to use this CustomCSS? UniServerModule.CustomCSS: .x-grid-cell-inner { display: flex; } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.