MrKim Well-Known Member Licensed User Longtime User Jun 19, 2022 #1 I have a customlistview but I can't seem to reduce the height beyond a certain height. In design it looks good but when I run it it is much larger. I have tried setting clv.Getbase.height in code and clv.sv.height to no avail there is no .prefheight that I can see. I though I might switch to a b4xcombobox but it seems to have the same issue. Design: Running (Empty grey clv on the right was a test in case it was something I did. Just put on the form with nothing changed and nothing put in the list.): Commonproperties: I always feel like I must be missing something obvious. As always, any help appreciated:
I have a customlistview but I can't seem to reduce the height beyond a certain height. In design it looks good but when I run it it is much larger. I have tried setting clv.Getbase.height in code and clv.sv.height to no avail there is no .prefheight that I can see. I though I might switch to a b4xcombobox but it seems to have the same issue. Design: Running (Empty grey clv on the right was a test in case it was something I did. Just put on the form with nothing changed and nothing put in the list.): Commonproperties: I always feel like I must be missing something obvious. As always, any help appreciated:
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2022 #2 The minimum height is applied by the JavaFX engine and is related to the text size and maybe the scroll bars. Upvote 0
The minimum height is applied by the JavaFX engine and is related to the text size and maybe the scroll bars.
MrKim Well-Known Member Licensed User Longtime User Jun 19, 2022 #3 Erel said: The minimum height is applied by the JavaFX engine and is related to the text size and maybe the scroll bars. Click to expand... Upvote 0
Erel said: The minimum height is applied by the JavaFX engine and is related to the text size and maybe the scroll bars. Click to expand...
MrKim Well-Known Member Licensed User Longtime User Jun 19, 2022 #4 Well I set the text size to 5 and turned off the scrollbars and it made no difference. I will just use combobox. It gets a little smaller and this app will only be Windows anyway. Thanks for looking in to it. Upvote 0
Well I set the text size to 5 and turned off the scrollbars and it made no difference. I will just use combobox. It gets a little smaller and this app will only be Windows anyway. Thanks for looking in to it.