Skip to content

Commit

Permalink
fix: checkbox style
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Jan 21, 2024
1 parent aba354d commit 7138bf4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/viewtify/style/FormStyles.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public interface FormStyles extends ViewtyStyle {
};

Style CheckBox = () -> {
text.align.left();
text.align.left().indent(6, px);
};

Style Separator = () -> {
Expand Down Expand Up @@ -187,6 +187,7 @@ private static Style colum(int size) {
$.descendant(Column4, special);
$.descendant(Column5, special);
$.descendant(Column6, special);
$.descendant(CheckBox, CheckBox);
};

Style ColumnRight = () -> {
Expand All @@ -198,6 +199,7 @@ private static Style colum(int size) {
$.descendant(Column4, special);
$.descendant(Column5, special);
$.descendant(Column6, special);
$.descendant(CheckBox, CheckBox);
};

Style ColumnCenter = () -> {
Expand All @@ -209,6 +211,7 @@ private static Style colum(int size) {
$.descendant(Column4, special);
$.descendant(Column5, special);
$.descendant(Column6, special);
$.descendant(CheckBox, CheckBox);
};

Style Preferences = () -> {
Expand Down

0 comments on commit 7138bf4

Please sign in to comment.