mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix UINode enums naming
This commit is contained in:
parent
c6b78dae3e
commit
7abe552e3c
9 changed files with 61 additions and 61 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue