B4 - GUI Editor Lacks a Vertical Scroll Bar for the Workspace
by Scott Peal · in Torque 3D Professional · 07/19/2009 (4:19 pm) · 2 replies
If you have a control like a GuiTabPageCtrl located inside a GuiScrollCtrl (which is located on a GuiTabBookCtrl) and it is larger than the size of the workspace (ie 1024x1024), and you resize the GuiTabPageCtrl to be greater than 1024 tall. There is no way to scroll the workspace down to see the bottom of GuiTabPageCtrl. Nor can you grab the GuiTabPageCtrl's handles to resize it up. Note that there is a horizontal scroll bar for the workspace.
The goal is to have a vertical scrollable tab page which shows many other controls.
The goal is to have a vertical scrollable tab page which shows many other controls.
About the author
Step 1) be the indie, step 2) make enough to buy a commercial license :)
#2
First, just to make sure, you are talking about a GuiTabPageCtrl that is inside a GuiScrollCtrl that is inside a GuiTabBookCtrl? If so, this won't work. GuiTabBookCtrls will only accept GuiTabPageCtrls as direct children.
So, this must be the other way around, i.e. the GuiScrollCtrl must be located inside the GuiTabPageCtrl. Then either place your controls inside the GuiScrollCtrl or make them children to a GuiControl and place that in the scroll ctrl.
As for a vertical scrollbar on the workspace: the scrollbars on the GUI Editor are only for the toplevel control. Right now, this is set up to work in either of three design resolutions. Only if the viewport is smaller than the design resolution will there be scrollbars.
Child controls are clipped against their parent controls so a child control exceeding the size of its parent will simply not be accessible.
If you are working with a huge control inside a GuiScrollCtrl, you can manually pan the control around inside the scroll ctrl to work on different parts (or put the control inside the scroll ctrl only after its design is finished). When panning around, the scroll bars of the GuiScrollCtrl won't update but they will update correctly when leaving the editor.
08/31/2009 (4:44 pm)
First, just to make sure, you are talking about a GuiTabPageCtrl that is inside a GuiScrollCtrl that is inside a GuiTabBookCtrl? If so, this won't work. GuiTabBookCtrls will only accept GuiTabPageCtrls as direct children.
So, this must be the other way around, i.e. the GuiScrollCtrl must be located inside the GuiTabPageCtrl. Then either place your controls inside the GuiScrollCtrl or make them children to a GuiControl and place that in the scroll ctrl.
As for a vertical scrollbar on the workspace: the scrollbars on the GUI Editor are only for the toplevel control. Right now, this is set up to work in either of three design resolutions. Only if the viewport is smaller than the design resolution will there be scrollbars.
Child controls are clipped against their parent controls so a child control exceeding the size of its parent will simply not be accessible.
If you are working with a huge control inside a GuiScrollCtrl, you can manually pan the control around inside the scroll ctrl to work on different parts (or put the control inside the scroll ctrl only after its design is finished). When panning around, the scroll bars of the GuiScrollCtrl won't update but they will update correctly when leaving the editor.
Torque 3D Owner Kenneth Holst
Default Studio Name