diff --git a/src/app/browser/header/main.cpp b/src/app/browser/header/main.cpp index 105f2691..a35d110b 100644 --- a/src/app/browser/header/main.cpp +++ b/src/app/browser/header/main.cpp @@ -10,6 +10,10 @@ Main::Main() Gtk::Orientation::VERTICAL ); + set_homogeneous( + true + ); + // Init title title = new main::Title(); diff --git a/src/app/browser/header/main/title.cpp b/src/app/browser/header/main/title.cpp index c1830a3a..46e59cf6 100644 --- a/src/app/browser/header/main/title.cpp +++ b/src/app/browser/header/main/title.cpp @@ -16,6 +16,10 @@ Title::Title() Pango::EllipsizeMode::END ); + set_valign( + Gtk::Align::CENTER + ); + set_width_chars( WIDTH_CHARS ); diff --git a/src/app/browser/header/main/title.hpp b/src/app/browser/header/main/title.hpp index 3c699a9d..2ad64d6d 100644 --- a/src/app/browser/header/main/title.hpp +++ b/src/app/browser/header/main/title.hpp @@ -2,6 +2,7 @@ #define APP_BROWSER_HEADER_MAIN_TITLE_HPP #include +#include #include #include