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/11/29 17:22:51 UTC
svn commit: r885244 - in /incubator/pivot/trunk/demos:
src/org/apache/pivot/demos/clock/ src/org/apache/pivot/demos/decorator/
src/org/apache/pivot/demos/dnd/ src/org/apache/pivot/demos/dom/
src/org/apache/pivot/demos/itunes/ src/org/apache/pivot/demos...
Author: tvolkert
Date: Sun Nov 29 16:22:50 2009
New Revision: 885244
URL: http://svn.apache.org/viewvc?rev=885244&view=rev
Log:
Added borders to all demos so they look better in applets, and unified the colors of existing demo borders
Modified:
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/ClockDemo.java
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/decorator/DecoratorDemo.java
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/drag_and_drop.wtkx
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/search_demo.wtkx
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/lists/multi_select.wtkx
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/demo.wtkx
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/rss/rss_feed_demo.wtkx
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/tables/fixed_column_table.wtkx
incubator/pivot/trunk/demos/www/dom-interaction.xml
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/ClockDemo.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/ClockDemo.java?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/ClockDemo.java (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/ClockDemo.java Sun Nov 29 16:22:50 2009
@@ -18,6 +18,7 @@
import org.apache.pivot.collections.Map;
import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.Border;
import org.apache.pivot.wtk.DesktopApplicationContext;
import org.apache.pivot.wtk.Display;
import org.apache.pivot.wtk.MovieView;
@@ -32,7 +33,9 @@
@Override
public void startup(Display display, Map<String, String> properties) {
- window = new Window(new MovieView(clock));
+ Border border = new Border(new MovieView(clock));
+ border.getStyles().put("color", 7);
+ window = new Window(border);
window.setMaximized(true);
window.open(display);
clock.play();
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd Sun Nov 29 16:22:50 2009
@@ -20,8 +20,8 @@
xmlns="org.apache.pivot.wtk.media">
<canvas>
<Canvas xmlns="org.apache.pivot.wtk.media.drawing">
- <Ellipse x="41" y="1" width="238" height="238" stroke="#777777" strokeThickness="1" fill="#eeeeee"/>
- <Path x="160" y="120" stroke="#000000" fill="#000000">
+ <Ellipse x="1" y="1" width="238" height="238" stroke="#777777" strokeThickness="1" fill="#eeeeee"/>
+ <Path x="120" y="120" stroke="#000000" fill="#000000">
<Path.MoveTo x="-5" y="0"/>
<Path.LineTo x="0" y="-60"/>
<Path.LineTo x="5" y="0"/>
@@ -31,7 +31,7 @@
<Shape.Rotate wtkx:id="hoursRotation"/>
</transforms>
</Path>
- <Path x="160" y="120" stroke="#0000dd" fill="#0000dd">
+ <Path x="120" y="120" stroke="#0000dd" fill="#0000dd">
<Path.MoveTo x="-3" y="0"/>
<Path.LineTo x="0" y="-100"/>
<Path.LineTo x="3" y="0"/>
@@ -41,7 +41,7 @@
<Shape.Rotate wtkx:id="minutesRotation"/>
</transforms>
</Path>
- <Line x="160" y="120" x1="0" y1="10" x2="0" y2="-110" stroke="#dd0000" strokeThickness="2">
+ <Line x="120" y="120" x1="0" y1="10" x2="0" y2="-110" stroke="#dd0000" strokeThickness="2">
<transforms>
<Shape.Rotate wtkx:id="secondsRotation"/>
</transforms>
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/decorator/DecoratorDemo.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/decorator/DecoratorDemo.java?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/decorator/DecoratorDemo.java (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/decorator/DecoratorDemo.java Sun Nov 29 16:22:50 2009
@@ -18,6 +18,7 @@
import org.apache.pivot.collections.Map;
import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.Border;
import org.apache.pivot.wtk.Component;
import org.apache.pivot.wtk.ComponentMouseListener;
import org.apache.pivot.wtk.DesktopApplicationContext;
@@ -28,12 +29,19 @@
import org.apache.pivot.wtkx.WTKXSerializer;
public class DecoratorDemo implements Application {
+ private Window mainWindow = null;
private Window reflectionWindow = null;
private Frame translucentFrame = null;
@Override
- public void startup(Display display, Map<String, String> properties)
- throws Exception {
+ public void startup(Display display, Map<String, String> properties) throws Exception {
+ Border border = new Border();
+ border.getStyles().put("color", 7);
+ border.getStyles().put("backgroundColor", 1);
+ mainWindow = new Window(border);
+ mainWindow.setMaximized(true);
+ mainWindow.open(display);
+
WTKXSerializer wtkxSerializer = new WTKXSerializer();
reflectionWindow = (Window)wtkxSerializer.readObject(this, "reflection.wtkx");
wtkxSerializer.reset();
@@ -57,8 +65,8 @@
}
});
- reflectionWindow.open(display);
- translucentFrame.open(display);
+ reflectionWindow.open(mainWindow);
+ translucentFrame.open(mainWindow);
}
@Override
@@ -71,6 +79,10 @@
translucentFrame.close();
}
+ if (mainWindow != null) {
+ mainWindow.close();
+ }
+
return false;
}
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/drag_and_drop.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/drag_and_drop.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/drag_and_drop.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/drag_and_drop.wtkx Sun Nov 29 16:22:50 2009
@@ -29,7 +29,7 @@
<rows>
<TablePane.Row height="1*">
- <Border styles="{padding:2}">
+ <Border styles="{color:7, padding:2}">
<content>
<TablePane>
<columns>
@@ -63,7 +63,7 @@
</content>
</Border>
- <Border styles="{padding:2}">
+ <Border styles="{color:7, padding:2}">
<content>
<TablePane>
<columns>
@@ -93,7 +93,7 @@
</content>
</Border>
- <Border styles="{padding:2}">
+ <Border styles="{color:7, padding:2}">
<content>
<TablePane>
<columns>
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java Sun Nov 29 16:22:50 2009
@@ -18,6 +18,7 @@
import org.apache.pivot.collections.Map;
import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.Border;
import org.apache.pivot.wtk.BrowserApplicationContext;
import org.apache.pivot.wtk.Button;
import org.apache.pivot.wtk.ButtonPressListener;
@@ -33,8 +34,7 @@
private PushButton helloButton = null;
@Override
- public void startup(Display display, Map<String, String> properties)
- throws Exception {
+ public void startup(Display display, Map<String, String> properties) throws Exception {
BoxPane boxPane = new BoxPane();
boxPane.getStyles().put("horizontalAlignment", HorizontalAlignment.CENTER);
@@ -44,11 +44,15 @@
helloButton.getButtonPressListeners().add(new ButtonPressListener() {
@Override
public void buttonPressed(Button button) {
- BrowserApplicationContext.eval("sayHello(\"Hello from Pivot!\")", DOMInteractionDemo.this);
+ BrowserApplicationContext.eval("sayHello(\"Hello from Pivot!\")",
+ DOMInteractionDemo.this);
}
});
- window = new Window(boxPane);
+ Border border = new Border(boxPane);
+ border.getStyles().put("color", 7);
+ border.getStyles().put("padding", 5);
+ window = new Window(border);
window.setMaximized(true);
window.open(display);
}
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/search_demo.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/search_demo.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/search_demo.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/search_demo.wtkx Sun Nov 29 16:22:50 2009
@@ -21,202 +21,206 @@
xmlns:content="org.apache.pivot.wtk.content"
xmlns="org.apache.pivot.wtk">
<content>
- <TablePane styles="{padding:6, verticalSpacing:6}">
- <columns>
- <TablePane.Column width="1*"/>
- </columns>
- <rows>
- <TablePane.Row height="-1">
- <TablePane>
- <columns>
- <TablePane.Column width="-1"/>
- <TablePane.Column width="1*"/>
- </columns>
- <rows>
- <TablePane.Row height="-1">
- <BoxPane styles="{verticalAlignment:'center'}">
- <TextInput textSize="18" wtkx:id="termTextInput">
- <componentKeyListeners>
- <wtkx:script>
- <![CDATA[
- importPackage(org.apache.pivot.wtk);
- function keyPressed(component, keyCode, keyLocation) {
- var term = termTextInput.getText();
-
- if (keyCode == Keyboard.KeyCode.ENTER) {
- if (!application.isQueryExecuting()
- && term.length() > 0) {
- searchButton.press();
- }
- }
+ <Border styles="{color:7}">
+ <content>
+ <TablePane styles="{padding:6, verticalSpacing:6}">
+ <columns>
+ <TablePane.Column width="1*"/>
+ </columns>
+ <rows>
+ <TablePane.Row height="-1">
+ <TablePane>
+ <columns>
+ <TablePane.Column width="-1"/>
+ <TablePane.Column width="1*"/>
+ </columns>
+ <rows>
+ <TablePane.Row height="-1">
+ <BoxPane styles="{verticalAlignment:'center'}">
+ <TextInput textSize="18" wtkx:id="termTextInput">
+ <componentKeyListeners>
+ <wtkx:script>
+ <![CDATA[
+ importPackage(org.apache.pivot.wtk);
+ function keyPressed(component, keyCode, keyLocation) {
+ var term = termTextInput.getText();
+
+ if (keyCode == Keyboard.KeyCode.ENTER) {
+ if (!application.isQueryExecuting()
+ && term.length() > 0) {
+ searchButton.press();
+ }
+ }
- return false;
- }
- ]]>
- </wtkx:script>
- </componentKeyListeners>
- <textInputTextListeners>
- <wtkx:script>
- <![CDATA[
- function textChanged(textInput) {
- var term = termTextInput.getText();
- searchButton.setEnabled(term.length() > 0);
- }
- ]]>
- </wtkx:script>
- </textInputTextListeners>
- </TextInput>
- <PushButton wtkx:id="searchButton" enabled="false"
- styles="{toolbar:true, padding:1}">
- <buttonPressListeners>
- <wtkx:script>
- <![CDATA[
- function buttonPressed(button) {
- if (application.isQueryExecuting()) {
- application.abortQuery();
- } else {
- application.executeQuery(termTextInput.getText());
- }
- }
- ]]>
- </wtkx:script>
- </buttonPressListeners>
- <componentKeyListeners>
- <wtkx:script>
- <![CDATA[
- importPackage(org.apache.pivot.wtk);
- function keyPressed(component, keyCode, keyLocation) {
- if (keyCode == Keyboard.KeyCode.ESCAPE) {
- if (application.isQueryExecuting()) {
- application.abortQuery();
+ return false;
+ }
+ ]]>
+ </wtkx:script>
+ </componentKeyListeners>
+ <textInputTextListeners>
+ <wtkx:script>
+ <![CDATA[
+ function textChanged(textInput) {
+ var term = termTextInput.getText();
+ searchButton.setEnabled(term.length() > 0);
+ }
+ ]]>
+ </wtkx:script>
+ </textInputTextListeners>
+ </TextInput>
+ <PushButton wtkx:id="searchButton" enabled="false"
+ styles="{toolbar:true, padding:1}">
+ <buttonPressListeners>
+ <wtkx:script>
+ <![CDATA[
+ function buttonPressed(button) {
+ if (application.isQueryExecuting()) {
+ application.abortQuery();
+ } else {
+ application.executeQuery(termTextInput.getText());
+ }
}
- }
+ ]]>
+ </wtkx:script>
+ </buttonPressListeners>
+ <componentKeyListeners>
+ <wtkx:script>
+ <![CDATA[
+ importPackage(org.apache.pivot.wtk);
+ function keyPressed(component, keyCode, keyLocation) {
+ if (keyCode == Keyboard.KeyCode.ESCAPE) {
+ if (application.isQueryExecuting()) {
+ application.abortQuery();
+ }
+ }
- return false;
- }
- ]]>
- </wtkx:script>
- </componentKeyListeners>
- </PushButton>
- </BoxPane>
- <Label wtkx:id="statusLabel" styles="{horizontalAlignment:'right',
- verticalAlignment:'center'}"/>
- </TablePane.Row>
- </rows>
- </TablePane>
- </TablePane.Row>
-
- <TablePane.Row height="1*">
- <TablePane styles="{horizontalSpacing:6}">
- <columns>
- <TablePane.Column width="1*"/>
- <TablePane.Column width="-1"/>
- </columns>
- <rows>
- <TablePane.Row height="1*">
- <StackPane>
- <Border>
- <content>
- <ScrollPane horizontalScrollBarPolicy="fill" verticalScrollBarPolicy="fill_to_capacity">
- <view>
- <TableView wtkx:id="resultsTableView">
- <columns>
- <TableView.Column name="itemName" width="1*" headerData="Name"/>
- <TableView.Column name="itemParentName" width="1*" headerData="Album"/>
- <TableView.Column name="artistName" width="1*" headerData="Artist"/>
- </columns>
- <componentMouseButtonListeners>
- <wtkx:script>
- <![CDATA[
- importPackage(org.apache.pivot.wtk);
- var selectedResult;
-
- function mouseClick(component, button, x, y, count) {
- if (count == 1) {
- selectedResult = resultsTableView.getSelectedRow();
- } else if (count == 2) {
- if (selectedResult == resultsTableView.getSelectedRow()) {
- ApplicationContext.open(selectedResult.get("previewUrl"));
+ return false;
+ }
+ ]]>
+ </wtkx:script>
+ </componentKeyListeners>
+ </PushButton>
+ </BoxPane>
+ <Label wtkx:id="statusLabel" styles="{horizontalAlignment:'right',
+ verticalAlignment:'center'}"/>
+ </TablePane.Row>
+ </rows>
+ </TablePane>
+ </TablePane.Row>
+
+ <TablePane.Row height="1*">
+ <TablePane styles="{horizontalSpacing:6}">
+ <columns>
+ <TablePane.Column width="1*"/>
+ <TablePane.Column width="-1"/>
+ </columns>
+ <rows>
+ <TablePane.Row height="1*">
+ <StackPane>
+ <Border>
+ <content>
+ <ScrollPane horizontalScrollBarPolicy="fill" verticalScrollBarPolicy="fill_to_capacity">
+ <view>
+ <TableView wtkx:id="resultsTableView">
+ <columns>
+ <TableView.Column name="itemName" width="1*" headerData="Name"/>
+ <TableView.Column name="itemParentName" width="1*" headerData="Album"/>
+ <TableView.Column name="artistName" width="1*" headerData="Artist"/>
+ </columns>
+ <componentMouseButtonListeners>
+ <wtkx:script>
+ <![CDATA[
+ importPackage(org.apache.pivot.wtk);
+ var selectedResult;
+
+ function mouseClick(component, button, x, y, count) {
+ if (count == 1) {
+ selectedResult = resultsTableView.getSelectedRow();
+ } else if (count == 2) {
+ if (selectedResult == resultsTableView.getSelectedRow()) {
+ ApplicationContext.open(selectedResult.get("previewUrl"));
+ }
+ }
+ }
+ ]]>
+ </wtkx:script>
+ </componentMouseButtonListeners>
+
+ <tableViewSelectionListeners>
+ <wtkx:script>
+ <![CDATA[
+ function selectedRangeAdded(tableView, rangeStart, rangeEnd) {
+ application.updateArtwork();
}
- }
- }
- ]]>
- </wtkx:script>
- </componentMouseButtonListeners>
-
- <tableViewSelectionListeners>
- <wtkx:script>
- <![CDATA[
- function selectedRangeAdded(tableView, rangeStart, rangeEnd) {
- application.updateArtwork();
- }
- function selectedRangeRemoved(tableView, rangeStart, rangeEnd) {
- application.updateArtwork();
- }
+ function selectedRangeRemoved(tableView, rangeStart, rangeEnd) {
+ application.updateArtwork();
+ }
- function selectedRangesChanged(tableView, previousSelectedRanges) {
- application.updateArtwork();
- }
- ]]>
- </wtkx:script>
- </tableViewSelectionListeners>
-
- <tableViewSortListeners>
- <wtkx:script>
- <![CDATA[
- function sortChanged(tableView) {
- var tableData = tableView.getTableData();
- tableData.setComparator(new org.apache.pivot.wtk.content.TableViewRowComparator(tableView));
- }
- ]]>
- </wtkx:script>
- </tableViewSortListeners>
-
- </TableView>
- </view>
- <columnHeader>
- <TableViewHeader tableView="$resultsTableView" sortMode="single_column"/>
- </columnHeader>
- </ScrollPane>
- </content>
- </Border>
-
- <BoxPane wtkx:id="activityIndicatorBoxPane" visible="false"
- styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
- <ActivityIndicator wtkx:id="activityIndicator"
- preferredWidth="96" preferredHeight="96"/>
- </BoxPane>
- </StackPane>
-
- <BoxPane orientation="vertical" styles="{fill:true}">
- <Border>
- <content>
- <ImageView wtkx:id="artworkImageView"
- preferredWidth="120" preferredHeight="120"/>
- </content>
- </Border>
- <BoxPane styles="{horizontalAlignment:'center'}">
- <PushButton wtkx:id="previewButton" buttonData="Preview" enabled="false">
- <buttonPressListeners>
- <wtkx:script>
- <![CDATA[
- importPackage(org.apache.pivot.wtk);
- function buttonPressed(button) {
- var selectedResult = resultsTableView.getSelectedRow();
- ApplicationContext.open(selectedResult.get("previewUrl"));
- }
- ]]>
- </wtkx:script>
- </buttonPressListeners>
- </PushButton>
- </BoxPane>
- </BoxPane>
- </TablePane.Row>
- </rows>
- </TablePane>
- </TablePane.Row>
- </rows>
- </TablePane>
+ function selectedRangesChanged(tableView, previousSelectedRanges) {
+ application.updateArtwork();
+ }
+ ]]>
+ </wtkx:script>
+ </tableViewSelectionListeners>
+
+ <tableViewSortListeners>
+ <wtkx:script>
+ <![CDATA[
+ function sortChanged(tableView) {
+ var tableData = tableView.getTableData();
+ tableData.setComparator(new org.apache.pivot.wtk.content.TableViewRowComparator(tableView));
+ }
+ ]]>
+ </wtkx:script>
+ </tableViewSortListeners>
+
+ </TableView>
+ </view>
+ <columnHeader>
+ <TableViewHeader tableView="$resultsTableView" sortMode="single_column"/>
+ </columnHeader>
+ </ScrollPane>
+ </content>
+ </Border>
+
+ <BoxPane wtkx:id="activityIndicatorBoxPane" visible="false"
+ styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
+ <ActivityIndicator wtkx:id="activityIndicator"
+ preferredWidth="96" preferredHeight="96"/>
+ </BoxPane>
+ </StackPane>
+
+ <BoxPane orientation="vertical" styles="{fill:true}">
+ <Border>
+ <content>
+ <ImageView wtkx:id="artworkImageView"
+ preferredWidth="120" preferredHeight="120"/>
+ </content>
+ </Border>
+ <BoxPane styles="{horizontalAlignment:'center'}">
+ <PushButton wtkx:id="previewButton" buttonData="Preview" enabled="false">
+ <buttonPressListeners>
+ <wtkx:script>
+ <![CDATA[
+ importPackage(org.apache.pivot.wtk);
+ function buttonPressed(button) {
+ var selectedResult = resultsTableView.getSelectedRow();
+ ApplicationContext.open(selectedResult.get("previewUrl"));
+ }
+ ]]>
+ </wtkx:script>
+ </buttonPressListeners>
+ </PushButton>
+ </BoxPane>
+ </BoxPane>
+ </TablePane.Row>
+ </rows>
+ </TablePane>
+ </TablePane.Row>
+ </rows>
+ </TablePane>
+ </content>
+ </Border>
</content>
</Window>
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/lists/multi_select.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/lists/multi_select.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/lists/multi_select.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/lists/multi_select.wtkx Sun Nov 29 16:22:50 2009
@@ -29,7 +29,7 @@
</columns>
<rows>
<TablePane.Row height="1*">
- <Border styles="{color:10}">
+ <Border styles="{color:7}">
<content>
<ScrollPane horizontalScrollBarPolicy="fill">
<view>
@@ -43,7 +43,7 @@
</ScrollPane>
</content>
</Border>
- <Border styles="{color:10}">
+ <Border styles="{color:7}">
<content>
<ScrollPane horizontalScrollBarPolicy="fill">
<view>
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/demo.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/demo.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/demo.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/demo.wtkx Sun Nov 29 16:22:50 2009
@@ -30,7 +30,7 @@
</columns>
<rows>
<TablePane.Row height="1*">
- <Border>
+ <Border styles="{color:7}">
<content>
<ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
<view>
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/rss/rss_feed_demo.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/rss/rss_feed_demo.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/rss/rss_feed_demo.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/rss/rss_feed_demo.wtkx Sun Nov 29 16:22:50 2009
@@ -22,7 +22,7 @@
xmlns:rss="org.apache.pivot.demos.rss"
xmlns="org.apache.pivot.wtk">
<content>
- <Border styles="{color:10}">
+ <Border styles="{color:7}">
<content>
<CardPane wtkx:id="cardPane" selectedIndex="0" styles="{selectionChangeEffect:'crossfade'}">
<Label wtkx:id="statusLabel" text="Loading..."
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/tables/fixed_column_table.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/tables/fixed_column_table.wtkx?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/tables/fixed_column_table.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/tables/fixed_column_table.wtkx Sun Nov 29 16:22:50 2009
@@ -21,7 +21,7 @@
xmlns:collections="org.apache.pivot.collections"
xmlns="org.apache.pivot.wtk">
<content>
- <Border styles="{color:10}">
+ <Border styles="{color:7}">
<content>
<ScrollPane horizontalScrollBarPolicy="fill_to_capacity"
verticalScrollBarPolicy="fill_to_capacity">
Modified: incubator/pivot/trunk/demos/www/dom-interaction.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/dom-interaction.xml?rev=885244&r1=885243&r2=885244&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/dom-interaction.xml (original)
+++ incubator/pivot/trunk/demos/www/dom-interaction.xml Sun Nov 29 16:22:50 2009
@@ -47,7 +47,7 @@
</p>
<table>
<tr>
- <td style="text-align:center; border:solid 1px #999999">
+ <td style="text-align:center;">
<application class="org.apache.pivot.demos.dom.DOMInteractionDemo"
width="380" height="240">
<libraries>
@@ -62,7 +62,7 @@
</td>
</tr>
<tr>
- <td style="text-align:center; border:solid 1px #999999">
+ <td style="padding:5; text-align:center; border:solid 1px #999999">
<button onclick="onHelloButtonClick()">Say Hello</button>
</td>
</tr>