mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 23:58:18 +07:00
fix label align typos
This commit is contained in:
@@ -49,10 +49,10 @@ namespace e2d
|
||||
label& tint(const color32& value) noexcept;
|
||||
[[nodiscard]] const color32& tint() const noexcept;
|
||||
|
||||
label& haligh(haligns value) noexcept;
|
||||
label& halign(haligns value) noexcept;
|
||||
[[nodiscard]] haligns halign() const noexcept;
|
||||
|
||||
label& valigh(valigns value) noexcept;
|
||||
label& valign(valigns value) noexcept;
|
||||
[[nodiscard]] valigns valign() const noexcept;
|
||||
|
||||
label& leading(f32 value) noexcept;
|
||||
@@ -207,7 +207,7 @@ namespace e2d
|
||||
return tint_;
|
||||
}
|
||||
|
||||
inline label& label::haligh(haligns value) noexcept {
|
||||
inline label& label::halign(haligns value) noexcept {
|
||||
halign_ = value;
|
||||
return *this;
|
||||
}
|
||||
@@ -216,7 +216,7 @@ namespace e2d
|
||||
return halign_;
|
||||
}
|
||||
|
||||
inline label& label::valigh(valigns value) noexcept {
|
||||
inline label& label::valign(valigns value) noexcept {
|
||||
valign_ = value;
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace e2d
|
||||
the<debug>().error("LABEL: Incorrect formatting of 'halign' property");
|
||||
return false;
|
||||
}
|
||||
component.haligh(halign);
|
||||
component.halign(halign);
|
||||
}
|
||||
|
||||
if ( ctx.root.HasMember("valign") ) {
|
||||
@@ -121,7 +121,7 @@ namespace e2d
|
||||
the<debug>().error("LABEL: Incorrect formatting of 'valign' property");
|
||||
return false;
|
||||
}
|
||||
component.valigh(valign);
|
||||
component.valign(valign);
|
||||
}
|
||||
|
||||
if ( ctx.root.HasMember("leading") ) {
|
||||
|
||||
Reference in New Issue
Block a user