Roberto P. Well-Known Member Licensed User Longtime User Nov 30, 2018 #1 I created my custom control and class with AppCompact for created user interface. When I use the controls (standard or custom) with Horizontal Ancor (left and right) the size of controls is zero. If the width is fixed the control work correctly. What can be? I attached the project. thanks Attachments testprj.zip 17.5 KB · Views: 184
I created my custom control and class with AppCompact for created user interface. When I use the controls (standard or custom) with Horizontal Ancor (left and right) the size of controls is zero. If the width is fixed the control work correctly. What can be? I attached the project. thanks
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2018 #2 See this message in the logs: Panel size is unknown. Layout may not be loaded correctly. Add this line before you load the layout: B4X: msv.Panel.Width = 100%x Upvote 0
See this message in the logs: Panel size is unknown. Layout may not be loaded correctly. Add this line before you load the layout: B4X: msv.Panel.Width = 100%x
Roberto P. Well-Known Member Licensed User Longtime User Dec 2, 2018 #3 I Erel, thank for your support. Now It's work fine. Please tell me why the loadlayout non set the width of scrollview also I set ancor Last edited: Dec 2, 2018 Upvote 0
I Erel, thank for your support. Now It's work fine. Please tell me why the loadlayout non set the width of scrollview also I set ancor
Erel B4X founder Staff member Licensed User Longtime User Dec 3, 2018 #4 Roberto P. said: Please tell me why the loadlayout non set the width of scrollview also I set ancor Click to expand... It is related to the container that you used. Upvote 0
Roberto P. said: Please tell me why the loadlayout non set the width of scrollview also I set ancor Click to expand... It is related to the container that you used.