You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/03/23 22:53:10 UTC
[royale-asjs] 03/03: fix label sizing
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 762b0b53a668bfe02681b201e2ac05efd0619708
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Mar 23 15:52:53 2018 -0700
fix label sizing
---
.../src/main/royale/org/apache/royale/html/beads/TextFieldViewBase.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextFieldViewBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextFieldViewBase.as
index 946fe97..bfbe960 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextFieldViewBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextFieldViewBase.as
@@ -403,10 +403,10 @@ package org.apache.royale.html.beads
}
if (autoWidth) {
- (host as UIBase).setWidth(textField.textWidth, true);
+ (host as UIBase).setWidth(textField.textWidth + 4, true);
}
if (autoHeight) {
- (host as UIBase).setHeight(textField.textHeight, true);
+ (host as UIBase).setHeight(textField.textHeight + 4, true);
}
}
}
--
To stop receiving notification emails like this one, please contact
aharui@apache.org.