Game Development Community

Beta1.1 Level editor: dropdown obscures buttons (+fix)

by Joe Rossi · in Torque Game Builder · 02/03/2006 (11:20 pm) · 1 replies

More of an annoyance than a bug, but by default this control seems to be in the way of several buttons on the toolbar. For some reason it seems to be attached to the right menu (as can be seen by resizing that menu).

The fix is to move this datablock in levelEditorGui.gui from around line 368 to line 28, after the GuiMenuBar(levelEditorMenu) datablock:
new T2DDatablockDropDownCtrl(levelEditorDatablockList) {
               canSaveDynamicFields = "0";
               Profile = "GuiPopUpMenuProfile";
               HorizSizing = "left";
               VertSizing = "bottom";
               position = "518 6";
               Extent = "141 20";
               MinExtent = "8 2";
               canSave = "1";
               visible = "1";
               internalName = "levelEditorDatablockList";
               hovertime = "1000";
               text = "Select Datablock";
               maxLength = "255";
               maxPopupHeight = "200";
               DatablockFilter = "t2dBaseDatablock";
            };

#1
02/09/2006 (7:32 pm)
Excellent little fix. Mine was to change the window size since the default 640x480 was doing it while 800x600 and above were not (after a restart of the engine in the new resolution).