mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
clean up editor ui seperations
This commit is contained in:
parent
9f29bee45f
commit
1a2ca353f1
|
|
@ -255,7 +255,7 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
|||
HorizSizing = "width";
|
||||
VertSizing = "bottom";
|
||||
Position = "0 0";
|
||||
Extent = "800 40";
|
||||
Extent = "800 36";
|
||||
MinExtent = "8 8";
|
||||
Margin = "0 0 0 0";
|
||||
Padding = "0 0 0 0";
|
||||
|
|
@ -1470,7 +1470,7 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
|||
internalName = "AggregateControl";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 60";
|
||||
position = "0 0";
|
||||
extent = "1024 768";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
|
|
@ -1478,8 +1478,8 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
|||
class = "EditorDropdownSliderContainer";
|
||||
|
||||
new GuiContainer(){
|
||||
position = firstWord(CameraSpeedDropdownContainer.position) + firstWord(EditorGuiToolbar.position) + -6 SPC
|
||||
(getWord(CameraSpeedDropdownContainer, 1)) + 31;
|
||||
internalName = "container";
|
||||
position = "0 0";
|
||||
extent = "146 39";
|
||||
isContainer = "1";
|
||||
Profile = "IconDropdownProfile";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ $guiContent = new GuiControl() {
|
|||
VertSizing = "windowRelative";
|
||||
Extent = "36 24";
|
||||
MinExtent = "36 24";
|
||||
Position = "-1 73";
|
||||
Position = "0 64";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
hovertime = "1000";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ $guiContent = new GuiContainer(EWToolsToolbar) {
|
|||
Profile = "ToolsMenubarProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Position = "0 38";
|
||||
Position = "0 30";
|
||||
Extent = "0 33";
|
||||
MinExtent = "8 34";
|
||||
canSave = "1";
|
||||
|
|
|
|||
|
|
@ -3359,11 +3359,11 @@ function TerrainSetHeightSliderCtrlContainer::onWake(%this)
|
|||
}
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
function CameraSpeedDropdownContainer::onWake(%this)
|
||||
function CameraSpeedDropdownCtrlContainer::onWake(%this)
|
||||
{
|
||||
%this-->slider.setValue(CameraSpeedDropdownCtrlContainer-->textEdit.getText());
|
||||
%pos = CameraSpeedDropdownCtrlContainer.getGlobalPosition();
|
||||
%this-->slider.setPositionGlobal(%pos.x, %pos.y + 25);
|
||||
%this-->slider.setValue(CameraSpeedDropdownContainer-->textEdit.getText());
|
||||
%pos = CameraSpeedDropdownContainer.getGlobalPosition();
|
||||
%this-->container.setPositionGlobal(%pos.x, %pos.y + 25);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue