B4J Question [SOLVED] SplitPane dividers

moore_it

Well-Known Member
Licensed User
Longtime User
how to work the splitpane dividerposistions when the splitpane have 3 panes ?

this code not work

B4X:
SplitPane1.DividerPositions = Array As Double(0.33,0.33,0.33)

Thanks.
 
Last edited:

stevel05

Expert
Licensed User
Longtime User
That would set them all at the same position. As far as I remember positions are absolute. To space 3 dividers equally try 0.25, 0.5,0.75
 
Last edited:
Upvote 0

moore_it

Well-Known Member
Licensed User
Longtime User
Thanks stevel05 for reply ,this dividers (0.25,05,0.75) work for the first and second pane but not for third pane.
Width of third pane is like first + second width panes.
I don't know how work ...
 
Upvote 0
Top