You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/06/23 18:36:17 UTC
[royale-asjs] branch develop updated: jewel-combobox: add default
width const
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 023cc9f jewel-combobox: add default width const
023cc9f is described below
commit 023cc9f840b3062d40b36cd05a925f168a9c8fa4
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jun 23 20:36:03 2020 +0200
jewel-combobox: add default width const
---
.../main/royale/org/apache/royale/jewel/beads/views/DateFieldView.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/DateFieldView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/DateFieldView.as
index 67d95d0..8d52145 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/DateFieldView.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/DateFieldView.as
@@ -155,6 +155,7 @@ package org.apache.royale.jewel.beads.views
}
public static const DEFAULT_BUTTON_WIDTH:Number = 38;
+ public static const DEFAULT_WIDTH:Number = 162;
/**
* Size the component at start up
@@ -169,7 +170,7 @@ package org.apache.royale.jewel.beads.views
// if no width (neither px or %), set default width
if(df.isWidthSizedToContent())
- df.width = 200;
+ df.width = DEFAULT_WIDTH;
_textInput.percentWidth = 100;
}