Skip to content

Commit e142e78

Browse files
committed
Improve 'Create New' button, make 'All Operations' expanded by default
1 parent 22f66a7 commit e142e78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/main/resources/edu/wpi/grip/ui/CustomOperationsList.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ScrollPane fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" VBox.vgrow="ALWAYS">
1111
<VBox>
1212
<VBox fx:id="operations"/>
13-
<Button text="Create New" onAction="#createNewPythonOperation"/>
13+
<Button text="Create New" onAction="#createNewPythonOperation" maxWidth="Infinity"/>
1414
</VBox>
1515
</ScrollPane>
1616
</TitledPane>

ui/src/main/resources/edu/wpi/grip/ui/Palette.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<VBox styleClass="palette" fx:controller="edu.wpi.grip.ui.PaletteController"
99
xmlns:fx="http://javafx.com/fxml/1" onKeyPressed="operationSearch.requestFocus()" fx:id="root">
1010
<Label styleClass="pane-title" text="Operation Palette" maxWidth="Infinity"/>
11-
<Accordion VBox.vgrow="ALWAYS">
11+
<Accordion VBox.vgrow="ALWAYS" expandedPane="$allOperations">
1212
<panes>
1313
<fx:include source="OperationList.fxml" fx:id="allOperations" text="All"/>
1414
<fx:include source="OperationList.fxml" fx:id="imgprocOperations" text="Image Processing"/>

0 commit comments

Comments
 (0)