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 "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2006/12/14 16:38:20 UTC

[jira] Created: (XAP-215) Widgets: ComboBox: ComboBox does not expand when used as a child of a borderPane

Widgets: ComboBox: ComboBox does not expand when used as a child of a borderPane
--------------------------------------------------------------------------------

                 Key: XAP-215
                 URL: http://issues.apache.org/jira/browse/XAP-215
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Trevor Oldak
            Priority: Minor


			<xal:borderPane width="200px" height="200px" backgroundColor="black"
				id="testComponent" orientation="horizontal">
					<label text="north" backgroundColor="red" height="20px" borderPosition="north"/>

				<button text="south" backgroundColor="blue" height="20px" borderPosition="south"/>
				<checkBox text="east" backgroundColor="green" width="50px" borderPosition="east"/>
				<checkBox text="west" backgroundColor="purple" width="50px" borderPosition="west"/>
				<comboBox text="ComboBox"  borderPosition="center" width="100%" height="100%">
					<listBox>
						<listItem text="listItem #1"/>
						<listItem text="listItem #2"/>
						<listItem text="listItem #3"/>
					</listBox>
				</comboBox>
			</xal:borderPane>

Everything else in this example expands to fill its section, except ofr the comboBox. 


The workaround would be to put a pane wrapper around the comboBox.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira