mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use alignment mode enums
This commit is contained in:
parent
74f5983f85
commit
9ef386bb10
2 changed files with 4 additions and 10 deletions
|
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue