Skip to content

Commit

Permalink
Adjust spacing
Browse files Browse the repository at this point in the history
PersonListCard.fxml: Adjust spacing in HBox

The spacing attribute for HBox in PersonListCard.fxml is set to '5',
causing it to look like a double-whitesspace is present in the Person List
Card (e.g. 1.  John)

Let's change the spacing attribute of the HBox in
PersonListCard.fxml to 0.5, so that it looks like a single whitespace
is present instead of double (e.g. 1. John).
  • Loading branch information
baskargopinath committed Jun 8, 2024
1 parent b896eb0 commit 00b9269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/view/PersonListCard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<padding>
<Insets top="5" right="5" bottom="5" left="15" />
</padding>
<HBox spacing="5" alignment="CENTER_LEFT">
<HBox spacing="0.5" alignment="CENTER_LEFT">
<Label fx:id="id" styleClass="cell_big_label">
<minWidth>
<!-- Ensures that the label text is never truncated -->
Expand Down

0 comments on commit 00b9269

Please sign in to comment.