mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Merge pull request #1279 from Azaezel/alpha41/dbSearch
add search bar to datablock inspector
This commit is contained in:
commit
35abe0cc29
1 changed files with 30 additions and 0 deletions
|
|
@ -44,7 +44,37 @@ $guiContent = new GuiControl() {
|
||||||
hovertime = "1000";
|
hovertime = "1000";
|
||||||
internalName = "DatablockEditorInspectorWindow";
|
internalName = "DatablockEditorInspectorWindow";
|
||||||
canSaveDynamicFields = "0";
|
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) {
|
new GuiContainer(DatablockEditorInspectorPanel) {
|
||||||
Docking = "Client";
|
Docking = "Client";
|
||||||
Margin = "22 41 3 3";
|
Margin = "22 41 3 3";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue