@@ -116,20 +116,21 @@ private void construct() {
116
116
117
117
VBox buttonContainer = new VBox ();
118
118
buttonContainer .setAlignment (Pos .BOTTOM_LEFT );
119
+ buttonContainer .setSpacing (3.0 );
119
120
Button importPreferences = new Button (Localization .lang ("Import preferences" ));
120
121
importPreferences .setTooltip (new Tooltip (Localization .lang ("Import preferences from file" )));
121
122
importPreferences .setOnAction (e -> importPreferences ());
122
- importPreferences .getStyleClass (). add ( "text-button" );
123
+ importPreferences .setMaxWidth ( Double . MAX_VALUE );
123
124
Button exportPreferences = new Button (Localization .lang ("Export preferences" ));
124
125
exportPreferences .setTooltip (new Tooltip (Localization .lang ("Export preferences to file" )));
125
126
exportPreferences .setOnAction (e -> exportPreferences ());
126
- exportPreferences .getStyleClass (). add ( "text-button" );
127
+ exportPreferences .setMaxWidth ( Double . MAX_VALUE );
127
128
Button showPreferences = new Button (Localization .lang ("Show preferences" ));
128
129
showPreferences .setOnAction (e -> new PreferencesFilterDialog (new JabRefPreferencesFilter (prefs )).setVisible (true ));
129
- showPreferences .getStyleClass (). add ( "text-button" );
130
+ showPreferences .setMaxWidth ( Double . MAX_VALUE );
130
131
Button resetPreferences = new Button (Localization .lang ("Reset preferences" ));
131
132
resetPreferences .setOnAction (e -> resetPreferences ());
132
- resetPreferences .getStyleClass (). add ( "text-button" );
133
+ resetPreferences .setMaxWidth ( Double . MAX_VALUE );
133
134
buttonContainer .getChildren ().addAll (
134
135
importPreferences ,
135
136
exportPreferences ,
@@ -138,6 +139,7 @@ private void construct() {
138
139
);
139
140
140
141
VBox spacer = new VBox ();
142
+ spacer .setPrefHeight (10.0 );
141
143
VBox .setVgrow (tabsList , Priority .ALWAYS );
142
144
VBox .setVgrow (spacer , Priority .SOMETIMES );
143
145
vBox .getChildren ().addAll (
0 commit comments