This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch feature/royalesite
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 026ff125d3c0040e6b80a24e911fe1f4a999f753
Author: Alex Harui <aha...@apache.org>
AuthorDate: Fri Feb 2 11:24:00 2018 -0800

    try using padding instead of fixed height to center text vertically and 
handle different font sizes
---
 frameworks/projects/Basic/src/main/resources/defaults.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css 
b/frameworks/projects/Basic/src/main/resources/defaults.css
index b83dc37..920fd5e 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -519,7 +519,8 @@ Spinner
 StringItemRenderer
 {
        IBeadController: 
ClassReference("org.apache.royale.html.beads.controllers.ItemRendererMouseController");
-       height: 24px;
+       padding-top: 4px;
+       padding-bottom: 4px;
        flex-shrink: 0;
        flex-grow: 1;
        cursor: pointer;

-- 
To stop receiving notification emails like this one, please contact
aha...@apache.org.

Reply via email to