mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Added search behavior to guiEditor's inspector as well
This commit is contained in:
parent
d890c530f9
commit
3734ef8e5b
1 changed files with 34 additions and 4 deletions
|
|
@ -967,6 +967,36 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
|
||||||
tooltipprofile = "ToolsGuiToolTipProfile";
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||||
hovertime = "1000";
|
hovertime = "1000";
|
||||||
canSaveDynamicFields = "0";
|
canSaveDynamicFields = "0";
|
||||||
|
|
||||||
|
new GuiTextEditCtrl( GuiEditorInspectorFilter ) {
|
||||||
|
position = "5 0";
|
||||||
|
extent = "341 20";
|
||||||
|
profile = "ToolsGuiTextEditProfile";
|
||||||
|
horizSizing = "width";
|
||||||
|
vertSizing = "bottom";
|
||||||
|
placeholderText = "Filter...";
|
||||||
|
validate = "GuiEditorInspectFields.setSearchText($ThisControl.getText());";
|
||||||
|
};
|
||||||
|
|
||||||
|
new GuiBitmapButtonCtrl() {
|
||||||
|
bitmapAsset = "ToolsModule:clear_icon_n_image";
|
||||||
|
groupNum = "-1";
|
||||||
|
buttonType = "PushButton";
|
||||||
|
useMouseEvents = "0";
|
||||||
|
isContainer = "0";
|
||||||
|
Profile = "ToolsGuiDefaultProfile";
|
||||||
|
HorizSizing = "left";
|
||||||
|
VertSizing = "bottom";
|
||||||
|
position = "325 2";
|
||||||
|
Extent = "17 17";
|
||||||
|
MinExtent = "8 2";
|
||||||
|
canSave = "1";
|
||||||
|
Visible = "1";
|
||||||
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||||
|
hovertime = "1000";
|
||||||
|
canSaveDynamicFields = "0";
|
||||||
|
command = "GuiEditorInspectorFilter.setText(\"\");GuiEditorInspectFields.setSearchText(\"\");";
|
||||||
|
};
|
||||||
|
|
||||||
new GuiScrollCtrl() {
|
new GuiScrollCtrl() {
|
||||||
willFirstRespond = "1";
|
willFirstRespond = "1";
|
||||||
|
|
@ -979,7 +1009,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
|
||||||
mouseWheelScrollSpeed = "-1";
|
mouseWheelScrollSpeed = "-1";
|
||||||
Margin = "0 0 0 0";
|
Margin = "0 0 0 0";
|
||||||
Padding = "0 0 0 0";
|
Padding = "0 0 0 0";
|
||||||
AnchorTop = "1";
|
AnchorTop = "0";
|
||||||
AnchorBottom = "0";
|
AnchorBottom = "0";
|
||||||
AnchorLeft = "1";
|
AnchorLeft = "1";
|
||||||
AnchorRight = "0";
|
AnchorRight = "0";
|
||||||
|
|
@ -987,8 +1017,8 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
|
||||||
Profile = "GuiEditorScrollProfile";
|
Profile = "GuiEditorScrollProfile";
|
||||||
HorizSizing = "width";
|
HorizSizing = "width";
|
||||||
VertSizing = "height";
|
VertSizing = "height";
|
||||||
position = "0 2";
|
position = "0 20";
|
||||||
Extent = "223 341";
|
Extent = "223 321";
|
||||||
MinExtent = "8 2";
|
MinExtent = "8 2";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
Visible = "1";
|
Visible = "1";
|
||||||
|
|
@ -1011,7 +1041,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
|
||||||
HorizSizing = "width";
|
HorizSizing = "width";
|
||||||
VertSizing = "bottom";
|
VertSizing = "bottom";
|
||||||
position = "1 1";
|
position = "1 1";
|
||||||
Extent = "221 24";
|
Extent = "221 321";
|
||||||
MinExtent = "8 24";
|
MinExtent = "8 24";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
Visible = "1";
|
Visible = "1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue