But this settings do not work. Values > 1 (pixel values) work, but are not of help for displaying for example the split pane left hand and right hand side to 50% / 50% or any other percentages.
I would like to give my current status concerning this issue, using now Servoy Developer 2022.3.1.3743
On NG1 (not Titanium), the horizontal Split Pane (with percentage values, i. e. 0 … 1) works, the vertical does not. Any value, e. g. 0.3 or 0.7 on a vertical Split Pane behaves like it would be the value 0.
On NG Titanium, neither the horizontal nor the vertical Split Pane does work with percentage values. It looks like the Split Pane is always using 0.5, independently oof the set value.
Anyone made the same experience?
Servoy Developer 2022.3.1.3743
openjdk version “1.8.0_332”
macOS Monterey, version 12.4
Split Pane is a WebComponent → [servoyextra-splitpane]
Setting in divLocation property any percent value like 0.2, 0.7 … hides upper part of the split pane. As there is a handle, I can make it visible again, but it should display with the percent value set when selecting the appropriate menu.
did you try my example attached here?
that works fine for me in NG1 in 2022.03.1 with the latest servoy -extra
i don’t see a problem it toggles nicely between 0.8 and 0.2
so please change the sample and reattach it to what you see.
Johan, I did try your example, of course. After some debugging, I found why it does not work here. We have a main form having a split pane where the forms are loaded on.
I enhanced your example by adding another form and statically attach the SplitPaneTest form to the left (main) pane. Starting the application sets the splitter at top, so the left vertical pane (upper form) of the SplitPaneTest form is not visible. The horizontal (upper part) works as expected.