]> git.mdlowis.com Git - proto/labwc.git/commitdiff
theme: change window.label.text.justify default to center
authorJohan Malm <jgm323@gmail.com>
Fri, 22 Apr 2022 16:54:20 +0000 (17:54 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 22 Apr 2022 16:54:20 +0000 (17:54 +0100)
It just looks better :)

docs/themerc
src/theme.c

index ec8c001e7309967da8bb4953a862f5f2f7f26c9f..4e559f5de7e611230ae78061b748beb8041e313e 100644 (file)
@@ -15,7 +15,7 @@ window.inactive.title.bg.color: #f6f5f4
 # window titlebar text
 window.active.label.text.color: #000000
 window.inactive.label.text.color: #000000
-window.label.text.justify: left
+window.label.text.justify: center
 
 # window buttons
 window.active.button.unpressed.image.color: #000000
index 1a745f17dc685d09df8f46b672cd30f3427ae6ef..7cb56d69a70b48bd5bf0effbea992b34abb26626 100644 (file)
@@ -104,7 +104,7 @@ theme_builtin(struct theme *theme)
 
        parse_hexstr("#000000", theme->window_active_label_text_color);
        parse_hexstr("#000000", theme->window_inactive_label_text_color);
-       theme->window_label_text_justify = parse_justification("Left");
+       theme->window_label_text_justify = parse_justification("Center");
 
        parse_hexstr("#000000",
                theme->window_active_button_menu_unpressed_image_color);