Skip to content

Commit

Permalink
Improve 'Create New' button, make 'All Operations' expanded by default
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCarlberg committed Jul 26, 2016
1 parent 22f66a7 commit e142e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ScrollPane fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER" VBox.vgrow="ALWAYS">
<VBox>
<VBox fx:id="operations"/>
<Button text="Create New" onAction="#createNewPythonOperation"/>
<Button text="Create New" onAction="#createNewPythonOperation" maxWidth="Infinity"/>
</VBox>
</ScrollPane>
</TitledPane>
2 changes: 1 addition & 1 deletion ui/src/main/resources/edu/wpi/grip/ui/Palette.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<VBox styleClass="palette" fx:controller="edu.wpi.grip.ui.PaletteController"
xmlns:fx="http://javafx.com/fxml/1" onKeyPressed="operationSearch.requestFocus()" fx:id="root">
<Label styleClass="pane-title" text="Operation Palette" maxWidth="Infinity"/>
<Accordion VBox.vgrow="ALWAYS">
<Accordion VBox.vgrow="ALWAYS" expandedPane="$allOperations">
<panes>
<fx:include source="OperationList.fxml" fx:id="allOperations" text="All"/>
<fx:include source="OperationList.fxml" fx:id="imgprocOperations" text="Image Processing"/>
Expand Down

0 comments on commit e142e78

Please sign in to comment.