Widgets: BorderPane: Border elements of percentage width/height don't resize
when borderPane is resized
-------------------------------------------------------------------------------------------------------
Key: XAP-438
URL: https://issues.apache.org/jira/browse/XAP-438
Project: XAP
Issue Type: Bug
Components: Widgets: Layouts
Reporter: Trevor Oldak
Put the following into a xal file:
<xal xmlns="http://openxal.org/ui">
<borderPane width="100%" height="100%">
<freePane borderPosition="north" height="25%" backgroundColor="red">
<label text="foo"/>
</freePane>
<freePane borderPosition="south" height="25%" backgroundColor="pink">
<label text="foo"/>
</freePane>
<freePane borderPosition="east" width="25%" backgroundColor="green">
<label text="foo"/>
</freePane>
<freePane borderPosition="west" width="25%" backgroundColor="blue">
<label text="foo"/>
</freePane>
<freePane borderPosition="center" backgroundColor="yellow">
<label text="foo"/>
</freePane>
</borderPane>
</xal>
run the file in a maximized browser window. Now, make the window smaller. The
center element will shrink but the border elements won't, even though they are
only supposed to take up 25% of the borderPane
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.