mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add 'font' xml property to label, button, bindbox, select, textbox
This commit is contained in:
parent
5505622395
commit
b0d9a162ca
9 changed files with 51 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue