| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to you under the Apache License, |
| Version 2.0 (the "License"); you may not use this file except in |
| compliance with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <Sheet xmlns:bxml="http://pivot.apache.org/bxml" |
| xmlns="org.apache.pivot.wtk"> |
| <TablePane> |
| <columns> |
| <TablePane.Column width="1*"/> |
| </columns> |
| |
| <TablePane.Row height="-1"> |
| <BoxPane> |
| <bxml:define> |
| <ButtonGroup bxml:id="sizeGroup"/> |
| </bxml:define> |
| <PushButton buttonData="320x240" toggleButton="true" buttonGroup="$sizeGroup"/> |
| <PushButton buttonData="640x480" toggleButton="true" buttonGroup="$sizeGroup"/> |
| <PushButton buttonData="800x600" toggleButton="true" buttonGroup="$sizeGroup"/> |
| </BoxPane> |
| </TablePane.Row> |
| <TablePane.Row height="1*"> |
| <CardPane bxml:id="cardPane" styles="{sizeToSelection:true, selectionChangeEffect:'crossfade'}"> |
| <Border title="320x240" preferredWidth="320" preferredHeight="240" |
| styles="{padding:2}"> |
| <ListView listData="['One', 'Two', 'Three', 'Four', 'Five', 'One', 'Two', 'Three', 'Four', 'Five', 'One', 'Two', 'Three', 'Four', 'Five', 'One', 'Two', 'Three', 'Four', 'Five']"/> |
| </Border> |
| <Border title="640x480" preferredWidth="640" preferredHeight="480" |
| styles="{padding:2}"> |
| <ListView listData="['Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Six', 'Seven', 'Eight', 'Nine', 'Ten']"/> |
| </Border> |
| <Border title="800x600" preferredWidth="800" preferredHeight="600" |
| styles="{padding:2}"> |
| <ListView listData="['Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen']"/> |
| </Border> |
| </CardPane> |
| </TablePane.Row> |
| </TablePane> |
| </Sheet> |
| |