add margins

This commit is contained in:
yggverse 2024-09-15 19:44:14 +03:00
parent b54a3aeecc
commit ebbaf772f0
2 changed files with 14 additions and 0 deletions

View File

@ -91,6 +91,14 @@ Reader::Reader(
Gtk::Align::START
);
set_margin_start(
MARGIN_START
);
set_margin_end(
MARGIN_END
);
set_wrap(
true
);

View File

@ -67,8 +67,14 @@ namespace app::browser::main::tab::page::content::text::gemini
/*
* Internal members
*/
// Shared actions
Glib::RefPtr<Gio::SimpleAction> action__open_link_variant;
// Defaults
const int MARGIN_START = 6;
const int MARGIN_END = 6;
/*
* Reader class API
*/