add 'font' xml property to label, button, bindbox, select, textbox

This commit is contained in:
MihailRis 2026-02-16 02:54:54 +03:00
parent 5505622395
commit b0d9a162ca
9 changed files with 51 additions and 0 deletions

View file

@ -91,6 +91,10 @@ void Button::setTextAlign(Align align) {
}
}
std::shared_ptr<Label> Button::getLabel() const {
return label;
}
Align Button::getTextAlign() const {
if (label) {
return label->getAlign();