Browse Source

setup label alignment

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

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

@ -99,6 +99,14 @@ Reader::Reader( @@ -99,6 +99,14 @@ Reader::Reader(
MARGIN_END
);
set_xalign(
XALIGN
);
set_yalign(
YALIGN
);
set_wrap(
true
);

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

@ -74,6 +74,8 @@ namespace app::browser::main::tab::page::content::text::gemini @@ -74,6 +74,8 @@ namespace app::browser::main::tab::page::content::text::gemini
// Defaults
const int MARGIN_START = 8;
const int MARGIN_END = 8;
const int XALIGN = 0;
const int YALIGN = 0;
/*
* Reader class API

Loading…
Cancel
Save