Skip to content

Commit 7718571

Browse files
committed
migliorata visualizzazione dei bottoni delle location
1 parent 06e239e commit 7718571

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/main/resources/admin.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<content>
6565
<ScrollPane>
6666
<content>
67-
<VBox fx:id="locationButtons" spacing="10.0"/>
67+
<VBox fx:id="locationButtons" spacing="10.0" stylesheets="@button.css" alignment="CENTER"/>
6868
</content>
6969
</ScrollPane>
7070
</content>

src/main/resources/button.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.button {
2+
-fx-pref-width: 200px;
3+
}

src/main/resources/enabled.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<content>
3434
<ScrollPane>
3535
<content>
36-
<VBox fx:id="locationButtons" spacing="10.0"/>
36+
<VBox fx:id="locationButtons" spacing="10.0" stylesheets="@button.css" alignment="CENTER"/>
3737
</content>
3838
</ScrollPane>
3939
</content>

src/main/resources/notenabled.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<content>
3939
<ScrollPane>
4040
<content>
41-
<VBox fx:id="locationButtons" spacing="10.0"/>
41+
<VBox fx:id="locationButtons" spacing="10.0" stylesheets="@button.css" alignment="CENTER"/>
4242
</content>
4343
</ScrollPane>
4444
</content>

0 commit comments

Comments
 (0)