Revision: 9045
Author: jlaba...@google.com
Date: Wed Oct 13 06:04:39 2010
Log: Minor tweaks for dynatablerd and showcase.
Review at http://gwt-code-reviews.appspot.com/990801
Review by: r...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9045
Modified:
/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/widgets/SummaryWidget.ui.xml
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellList.java
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellTable.ui.xml
=======================================
---
/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/widgets/SummaryWidget.ui.xml
Fri Sep 24 12:10:50 2010
+++
/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/widgets/SummaryWidget.ui.xml
Wed Oct 13 06:04:39 2010
@@ -9,6 +9,10 @@
.thirty {
width: 30%
}
+
+ .table {
+ width: 100%;
+ }
</ui:style>
<g:DockLayoutPanel ui:field="dock" unit="EX">
<g:north size="6">
@@ -29,7 +33,7 @@
</g:DockLayoutPanel>
</g:north>
<g:center>
- <cv:CellTable ui:field="table" />
+ <cv:CellTable ui:field="table" stylePrimaryName="{style.table}" />
</g:center>
</g:DockLayoutPanel>
</ui:UiBinder>
=======================================
---
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellList.java
Wed Sep 22 12:58:01 2010
+++
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellList.java
Wed Oct 13 06:04:39 2010
@@ -33,6 +33,7 @@
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.cellview.client.CellList;
import
com.google.gwt.user.cellview.client.HasKeyboardPagingPolicy.KeyboardPagingPolicy;
+import
com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.Button;
@@ -174,6 +175,7 @@
ContactDatabase.ContactInfo.KEY_PROVIDER);
cellList.setPageSize(30);
cellList.setKeyboardPagingPolicy(KeyboardPagingPolicy.INCREASE_RANGE);
+
cellList.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.BOUND_TO_SELECTION);
// Add a selection model so we can select cells.
final SingleSelectionModel<ContactInfo> selectionModel = new
SingleSelectionModel<ContactInfo>(
=======================================
---
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellTable.ui.xml
Tue Jul 20 10:54:02 2010
+++
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwCellTable.ui.xml
Wed Oct 13 06:04:39 2010
@@ -6,7 +6,6 @@
<ui:style>
.cellTable {
- height: 400px;
width: 600px;
border: 1px solid #ccc;
text-align: left;
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors