Skip to content

Commit

Permalink
Use monospaced font for clock (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Mar 10, 2024
1 parent b82625d commit e481802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added ui/assets/FiraMono-Regular.ttf
Binary file not shown.
2 changes: 2 additions & 0 deletions ui/mainwindow.slint
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Xkcd, XkcdWidget } from "xkcdwidget.slint";
import { ForecastWidget, Forecast } from "forecastwidget.slint";
import { FoodTrackerWidget, FoodTracking} from "foodtrackerwidget.slint";
import "./assets/Bagoss.ttf";
import "./assets/FiraMono-Regular.ttf";

export component MainWindow inherits Window {
in property <string> time: "12:34:56";
Expand Down Expand Up @@ -80,6 +81,7 @@ export component MainWindow inherits Window {
horizontal-alignment: right;
font-size: 4rem;
text: time;
font-family: "Fira Mono";
}
}

Expand Down

0 comments on commit e481802

Please sign in to comment.