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