add 'min-length' panel property

This commit is contained in:
MihailRis
2025-01-18 05:55:02 +03:00
parent 8e8fed2aa2
commit 0ce5e23a2a
6 changed files with 24 additions and 5 deletions
+3
View File
@@ -220,6 +220,9 @@ static void _readPanel(UiXmlReader& reader, const xml::xmlelement& element, Pane
if (element.has("max-length")) {
panel.setMaxLength(element.attr("max-length").asInt());
}
if (element.has("min-length")) {
panel.setMinLength(element.attr("min-length").asInt());
}
if (element.has("orientation")) {
auto &oname = element.attr("orientation").getText();
if (oname == "horizontal") {