Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Jan 14, 2025
1 parent c63a139 commit 26e9d35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/viewtify/WizardDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import javafx.scene.control.ButtonType;
import javafx.scene.layout.ColumnConstraints;

import kiss.I;
import kiss.Signal;
import kiss.Variable;
Expand Down Expand Up @@ -140,7 +141,7 @@ interface styles extends StyleDSL {

String active = "-fx-edit-color";

Numeric circle = Numeric.of(28, px);
Numeric circle = Numeric.num(28, px);

Style main = () -> {
padding.horizontal(circle.multiply(1.2)).vertical(circle.divide(3));
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/viewtify/ui/calendar/YearMonthView.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.Priority;
import javafx.scene.layout.RowConstraints;

import kiss.I;
import stylist.Style;
import stylist.StyleDSL;
Expand Down Expand Up @@ -53,9 +54,9 @@ protected ViewDSL declareUI() {

interface Styles extends StyleDSL {

Numeric dayWidth = Numeric.of(2, em);
Numeric dayWidth = Numeric.num(2, em);

Numeric dayHeight = Numeric.of(2, em);
Numeric dayHeight = Numeric.num(2, em);

Style root = () -> {
display.width.fill().height.fill().grid().columnGap(2, px).rowGap(2, px);
Expand Down

0 comments on commit 26e9d35

Please sign in to comment.