mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +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";
|
HorizSizing = "right";
|
||||||
VertSizing = "bottom";
|
VertSizing = "bottom";
|
||||||
Position = "0 31";
|
Position = "0 31";
|
||||||
Extent = (29 + 4) * 14 + 12 SPC "33";
|
Extent = "0 33";
|
||||||
MinExtent = "8 2";
|
MinExtent = "8 2";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
Visible = "1";
|
Visible = "1";
|
||||||
|
|
|
||||||
|
|
@ -384,6 +384,7 @@ function EditorGui::addToToolsToolbar( %this, %pluginName, %internalName, %bitma
|
||||||
useMouseEvents = "0";
|
useMouseEvents = "0";
|
||||||
};
|
};
|
||||||
ToolsToolbarArray.add(%button);
|
ToolsToolbarArray.add(%button);
|
||||||
|
EWToolsToolbar.setExtent((25 + 8) * (%count + 1) + 12 SPC "33");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
HorizSizing = "right";
|
HorizSizing = "right";
|
||||||
VertSizing = "bottom";
|
VertSizing = "bottom";
|
||||||
Position = "0 31";
|
Position = "0 31";
|
||||||
Extent = (29 + 4) * 14 + 12 SPC "33";
|
Extent = "0 33";
|
||||||
MinExtent = "8 2";
|
MinExtent = "8 2";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
Visible = "1";
|
Visible = "1";
|
||||||
|
|
|
||||||
|
|
@ -384,6 +384,7 @@ function EditorGui::addToToolsToolbar( %this, %pluginName, %internalName, %bitma
|
||||||
useMouseEvents = "0";
|
useMouseEvents = "0";
|
||||||
};
|
};
|
||||||
ToolsToolbarArray.add(%button);
|
ToolsToolbarArray.add(%button);
|
||||||
|
EWToolsToolbar.setExtent((25 + 8) * (%count + 1) + 12 SPC "33");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue