You have to assign the bottom and top components to the splitter and
then you can do something like follow:
aPnt := 0 @ (aListV lineGrid * (needLines - 1)) negated.
(wG := (self builder componentAt: #ResizingSplitter2) widget)
moveTopComponentsBy: aPnt;
moveSelfBy: aPnt;
moveBottomComponentsBy: aPnt.
wG controller selectionTracker
finishSelectionFor: wG container bounds extent.
I use this in the postBuildWith:aBuilder
to adjust positions
--Mark
Richard Wettel wrote:
> Hi,
>
> Is there any way to programatically move a divider in a GUI? I need to
> be able to switch between seeing an information panel (separated
> through a divider from the main panel) or not.
>
> Thanks,
> Richard Wettel
> _______________________________________________
> vwnc mailing list
>
[hidden email]
>
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc>
>
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc