Skip to content

Commit f5239fe

Browse files
center multiline clock text (#285)
1 parent e085897 commit f5239fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/panel/widgets/clock.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ void WayfireClock::init(Gtk::Box *container)
88
button->get_style_context()->add_class("clock");
99
button->set_child(label);
1010
button->show();
11+
label.set_justify(Gtk::JUSTIFY_CENTER);
1112
label.show();
1213

1314
update_label();

0 commit comments

Comments
 (0)