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