You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/05/11 18:14:07 UTC

svn commit: r1337249 - /pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml

Author: smartini
Date: Fri May 11 16:14:07 2012
New Revision: 1337249

URL: http://svn.apache.org/viewvc?rev=1337249&view=rev
Log:
add sample bxml file to show pivot version, origin, and java version, but still not used (see next commit on KitchenSink)

Added:
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml?rev=1337249&view=auto
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml (added)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml Fri May 11 16:14:07 2012
@@ -0,0 +1,31 @@
+<?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.
+-->
+
+<BoxPane xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk"
+>
+    <BoxPane orientation="horizontal" styles="{padding:{top:2, left:4, bottom:4, right:4}, spacing:10}">
+        <Label bxml:id="info-pivot-version" text="Pivot-"/>
+        <Label text=" , "/> <!-- Spacer -->
+        <Label bxml:id="info-pivot-origin" text="Running from "/>
+        <Label text=" , "/> <!-- Spacer -->
+        <Label bxml:id="info-java-version" text="Java Version: "/>
+        <Label text=""/> <!-- Spacer -->
+    </BoxPane>
+</BoxPane>