use alignment mode enums

This commit is contained in:
yggverse 2024-09-16 08:57:43 +03:00
parent 74f5983f85
commit 9ef386bb10
2 changed files with 4 additions and 10 deletions

View file

@ -87,6 +87,10 @@ Reader::Reader(
} }
// Init widget // Init widget
set_halign(
Gtk::Align::START
);
set_valign( set_valign(
Gtk::Align::START Gtk::Align::START
); );
@ -99,14 +103,6 @@ Reader::Reader(
MARGIN_END MARGIN_END
); );
set_xalign(
XALIGN
);
set_yalign(
YALIGN
);
set_wrap( set_wrap(
true true
); );

View file

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