mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-13 17:30:51 +00:00
Made toolbar resize intelligently.
This commit is contained in:
parent
add9f990f7
commit
61e106251d
4 changed files with 4 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Position = "0 31";
|
||||
Extent = (29 + 4) * 14 + 12 SPC "33";
|
||||
Extent = "0 33";
|
||||
MinExtent = "8 2";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
|
|
|
|||
|
|
@ -384,6 +384,7 @@ function EditorGui::addToToolsToolbar( %this, %pluginName, %internalName, %bitma
|
|||
useMouseEvents = "0";
|
||||
};
|
||||
ToolsToolbarArray.add(%button);
|
||||
EWToolsToolbar.setExtent((25 + 8) * (%count + 1) + 12 SPC "33");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Position = "0 31";
|
||||
Extent = (29 + 4) * 14 + 12 SPC "33";
|
||||
Extent = "0 33";
|
||||
MinExtent = "8 2";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
|
|
|
|||
|
|
@ -384,6 +384,7 @@ function EditorGui::addToToolsToolbar( %this, %pluginName, %internalName, %bitma
|
|||
useMouseEvents = "0";
|
||||
};
|
||||
ToolsToolbarArray.add(%button);
|
||||
EWToolsToolbar.setExtent((25 + 8) * (%count + 1) + 12 SPC "33");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue