setup label alignment

This commit is contained in:
yggverse 2024-09-16 08:38:35 +03:00
parent d99eb79317
commit 74f5983f85
2 changed files with 10 additions and 0 deletions

View File

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

View File

@ -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