diff --git a/src/app/browser/header/main/title.cpp b/src/app/browser/header/main/title.cpp index da0f6710..c1830a3a 100644 --- a/src/app/browser/header/main/title.cpp +++ b/src/app/browser/header/main/title.cpp @@ -8,6 +8,18 @@ Title::Title() "title" ); + set_single_line_mode( + true + ); + + set_ellipsize( + Pango::EllipsizeMode::END + ); + + set_width_chars( + WIDTH_CHARS + ); + // @TODO } diff --git a/src/app/browser/header/main/title.hpp b/src/app/browser/header/main/title.hpp index 025fc244..3c699a9d 100644 --- a/src/app/browser/header/main/title.hpp +++ b/src/app/browser/header/main/title.hpp @@ -3,11 +3,14 @@ #include #include +#include namespace app::browser::header::main { class Title : public Gtk::Label { + const int WIDTH_CHARS = 5; + public: Title();