aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-09-15 16:03:31 +0200
committerMihai Moldovan <ionic@ionic.de>2023-09-15 16:03:31 +0200
commit9faeec2e427ca0fb9316c71204ff0721e16337ed (patch)
treea24f4674651004d2ecf5e25c9a3dc25ab5c44053 /src
parentcf4253c78f675aa525a59c07fc98faf504c339fe (diff)
parente7f11116fcdc20e99bda87ddc4dfdce545749efc (diff)
downloadarctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.tar.gz
arctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.tar.bz2
arctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.zip
Merge branch 'sunweaver-mr/fix-font-size-without-unit'
Attributes GH PR #65: https://github.com/ArcticaProject/arctica-greeter/pull/65
Diffstat (limited to 'src')
-rw-r--r--src/toggle-box.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toggle-box.vala b/src/toggle-box.vala
index 12072b1..d009088 100644
--- a/src/toggle-box.vala
+++ b/src/toggle-box.vala
@@ -212,7 +212,7 @@ public class ToggleBox : Gtk.Box
var style = new Gtk.CssProvider ();
style.load_from_data ("label {\n" +
" font-family: \"%s\", sans-serif;\n".printf (font_family) +
- " font-size: %d;\n".printf (font_size + 2) +
+ " font-size: %dpt;\n".printf (font_size - 1) +
"}\n" +
"label.high_contrast {\n" +
" color: %s;\n".printf ("rgba(255, 255, 255, 1.0)") +