You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/09/04 04:37:44 UTC

svn commit: r811206 - in /incubator/pivot/trunk/tutorials: src/org/apache/pivot/tutorials/layout/table_panes.wtkx www/table_panes.template.html

Author: tvolkert
Date: Fri Sep  4 02:37:43 2009
New Revision: 811206

URL: http://svn.apache.org/viewvc?rev=811206&view=rev
Log:
Updated the table pane tutorial layout to work better in a small applet window, and upped the size of the applet window a little bit

Modified:
    incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/table_panes.wtkx
    incubator/pivot/trunk/tutorials/www/table_panes.template.html

Modified: incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/table_panes.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/table_panes.wtkx?rev=811206&r1=811205&r2=811206&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/table_panes.wtkx (original)
+++ incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/table_panes.wtkx Fri Sep  4 02:37:43 2009
@@ -65,7 +65,7 @@
     </wtkx:define>
 
     <content>
-        <SplitPane splitRatio="0.7">
+        <SplitPane splitRatio="0.6">
             <left>
                 <Border styles="{padding:0}">
                     <content>
@@ -73,7 +73,7 @@
                             horizontalSpacing:21, showVerticalGridLines:true, padding:10}">
                             <columns>
                                 <TablePane.Column width="-1"/>
-                                <TablePane.Column width="100"/>
+                                <TablePane.Column width="50"/>
                                 <TablePane.Column width="-1"/>
                                 <TablePane.Column width="1*"/>
                                 <TablePane.Column width="2*"/>
@@ -82,13 +82,13 @@
                             <rows>
                                 <TablePane.Row height="-1">
                                     <TablePane.Filler/>
-                                    <Label text="100" styles="{horizontalAlignment:'center'}"/>
+                                    <Label text="50" styles="{horizontalAlignment:'center'}"/>
                                     <Label text="-1" styles="{horizontalAlignment:'center'}"/>
                                     <Label text="1*" styles="{horizontalAlignment:'center'}"/>
                                     <Label text="2*" styles="{horizontalAlignment:'center'}"/>
                                 </TablePane.Row>
-                                <TablePane.Row height="100">
-                                    <Label text="100" styles="{verticalAlignment:'center'}"/>
+                                <TablePane.Row height="50">
+                                    <Label text="50" styles="{verticalAlignment:'center'}"/>
                                     <Panel styles="{backgroundColor:'#dddcd5'}"/>
                                     <Panel styles="{backgroundColor:'#dddcd5'}"/>
                                     <Panel styles="{backgroundColor:'#dddcd5'}"/>

Modified: incubator/pivot/trunk/tutorials/www/table_panes.template.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/table_panes.template.html?rev=811206&r1=811205&r2=811206&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/table_panes.template.html (original)
+++ incubator/pivot/trunk/tutorials/www/table_panes.template.html Fri Sep  4 02:37:43 2009
@@ -78,8 +78,8 @@
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
     archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
-    width:460,
-    height:310,
+    width:500,
+    height:350,
     style:"border:solid 1px #999999"
 };
 var parameters = {application_class_name:"org.apache.pivot.tutorials.layout.TablePanes",