You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2007/02/28 02:26:37 UTC
svn commit: r512567 -
/incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal
Author: jmargaris
Date: Tue Feb 27 18:26:36 2007
New Revision: 512567
URL: http://svn.apache.org/viewvc?view=rev&rev=512567
Log:
AN example to use for testing box layouts
Added:
incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal (with props)
Added: incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal?view=auto&rev=512567
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal (added)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal Tue Feb 27 18:26:36 2007
@@ -0,0 +1,38 @@
+<!--
+ - 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.
+ -
+-->
+
+<xal xmlns="http://openxal.org/ui">
+
+ <verticalBoxPane width="100%" height="100%" alignment="stretch">
+ <horizontalBoxPane borderColor="red" borderWidth="20px" borderStyle="solid">
+ <label text="This is the header of the box layout" width="100%"/>
+ </horizontalBoxPane>
+
+ <horizontalBoxPane boxFlex="1" alignment="stretch" borderStyle="solid" borderColor="green" borderWidth="20px">
+ <label text="This should stay fixed" borderStyle="solid" verticalAlignment="center" borderColor="yellow" borderWidth="20px"/>
+ <label text="This should expand right" borderStyle="solid" verticalAlignment="center" boxFlex="1" borderColor="orange" borderWidth="20px"/>
+ </horizontalBoxPane>
+
+ <horizontalBoxPane borderColor="blue" borderStyle="solid" borderWidth="20px">
+ <label text="This is the footer of the box layout"/>
+ </horizontalBoxPane>
+
+ </verticalBoxPane>
+
+</xal>
\ No newline at end of file
Propchange: incubator/xap/trunk/samples/WebContent/examples/widgets/widget_examples/headerFooterExample.xal
------------------------------------------------------------------------------
svn:eol-style = native