mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
add search bar to datablock inspector
This commit is contained in:
parent
67b052a192
commit
6c3a412275
|
|
@ -44,7 +44,37 @@ $guiContent = new GuiControl() {
|
|||
hovertime = "1000";
|
||||
internalName = "DatablockEditorInspectorWindow";
|
||||
canSaveDynamicFields = "0";
|
||||
|
||||
new GuiTextEditCtrl( DatablockEditorInspectorFilter ) {
|
||||
position = "5 -4";
|
||||
extent = "341 20";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
placeholderText = "Filter...";
|
||||
validate = "DatablockEditorInspector.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 = "DatablockEditorInspectorFilter.setText(\"\");DatablockEditorInspector.setSearchText(\"\");";
|
||||
};
|
||||
|
||||
new GuiContainer(DatablockEditorInspectorPanel) {
|
||||
Docking = "Client";
|
||||
Margin = "22 41 3 3";
|
||||
|
|
|
|||
Loading…
Reference in a new issue