Browse Source

add margins

CPP-GTK4
yggverse 1 month ago
parent
commit
ebbaf772f0
  1. 8
      src/app/browser/main/tab/page/content/text/gemini/reader.cpp
  2. 6
      src/app/browser/main/tab/page/content/text/gemini/reader.hpp

8
src/app/browser/main/tab/page/content/text/gemini/reader.cpp

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

6
src/app/browser/main/tab/page/content/text/gemini/reader.hpp

@ -67,8 +67,14 @@ namespace app::browser::main::tab::page::content::text::gemini @@ -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
*/

Loading…
Cancel
Save