fix UINode enums naming

This commit is contained in:
MihailRis 2025-11-14 12:33:30 +03:00
parent c6b78dae3e
commit 7abe552e3c
9 changed files with 61 additions and 61 deletions

View file

@ -47,7 +47,7 @@ Button::Button(
setScrollable(false);
label = std::make_shared<Label>(gui, text);
label->setAlign(Align::center);
label->setAlign(Align::CENTER);
label->setSize(getContentSize());
label->setInteractive(false);
add(label);
@ -95,5 +95,5 @@ Align Button::getTextAlign() const {
if (label) {
return label->getAlign();
}
return Align::left;
return Align::LEFT;
}