mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
set vertical alignment
This commit is contained in:
parent
5b1dafa7a3
commit
2b81293d1c
@ -10,6 +10,10 @@ Main::Main()
|
||||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
||||
set_homogeneous(
|
||||
true
|
||||
);
|
||||
|
||||
// Init title
|
||||
title = new main::Title();
|
||||
|
||||
|
@ -16,6 +16,10 @@ Title::Title()
|
||||
Pango::EllipsizeMode::END
|
||||
);
|
||||
|
||||
set_valign(
|
||||
Gtk::Align::CENTER
|
||||
);
|
||||
|
||||
set_width_chars(
|
||||
WIDTH_CHARS
|
||||
);
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define APP_BROWSER_HEADER_MAIN_TITLE_HPP
|
||||
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/enums.h>
|
||||
#include <gtkmm/label.h>
|
||||
#include <pangomm/layout.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user