You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org> on 2007/02/05 00:26:05 UTC
[jira] Resolved: (XAP-293) Widgets: ComboBox: Heights incorrect
when given as a percentage.
[ https://issues.apache.org/jira/browse/XAP-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Turyn, Michael resolved XAP-293.
--------------------------------
Resolution: Fixed
See revision 503518.
Was setting child listbox dimensions the same as parent div's; now they're set to 100%. Also do some jiggering around to handle borders correctly, e.g.:
Set borderWidth to 25px.
Set width to 100%.
Set borderWidth to 1.
---we don't want the box to suddenly end 48px before the right edge, which easily happens if you don't do it correctly. We really ought to put this code in the superclass; will do so after next release.
> Widgets: ComboBox: Heights incorrect when given as a percentage.
> ----------------------------------------------------------------
>
> Key: XAP-293
> URL: https://issues.apache.org/jira/browse/XAP-293
> Project: XAP
> Issue Type: Bug
> Components: Widgets
> Reporter: Trevor Oldak
> Priority: Minor
>
> Open the comboBox component test and set 'height' to '50%'. The widget isn't only about 25% the height of the parent freePane. At 25%, it is only about 1/16th the height of the freePane.
> It looks like the height attribute is being squared when given as a percentage... 50% * 50% = 25%. 25% * 25% = 6.25%
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.