Skip to content

Commit 3c9ff46

Browse files
committed
#178: center sync checkbox horiztonal
1 parent f675c1a commit 3c9ff46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/de/doubleslash/keeptime/view/ExternalProjectsSyncController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import javafx.collections.transformation.FilteredList;
4141
import javafx.concurrent.Task;
4242
import javafx.fxml.FXML;
43+
import javafx.geometry.Pos;
4344
import javafx.scene.Node;
4445
import javafx.scene.control.*;
4546
import javafx.scene.effect.GaussianBlur;
@@ -257,7 +258,7 @@ protected void updateItem(TableRow item, boolean empty) {
257258
checkBox.setSelected(item.shouldSyncCheckBox.get());
258259
boolChangeListener = (obs, oldText, newBoolean) -> item.shouldSyncCheckBox.set(newBoolean);
259260
checkBox.selectedProperty().addListener(boolChangeListener);
260-
261+
setAlignment(Pos.TOP_CENTER);
261262
setGraphic(checkBox);
262263
}
263264
}

0 commit comments

Comments
 (0)