PDA

View Full Version : [FIXED] Vertical Lines patch



ushkinaz
23 Apr 2008, 5:37 AM
This issue (http://code.google.com/p/my-gwt/issues/detail?id=261) was eating my brain since January.
And I finally managed to fix it. just 1 day before my release. Phew, that was close.




Index: TableView.java
===================================================================
--- TableView.java (revision 598)
+++ TableView.java (working copy)
@@ -194,6 +194,9 @@
TableColumn c = cm.getColumn(i);
String display = c.isHidden() ? "none" : "static";
int w = table.getColumnModel().getWidthInPixels(c.index);
+ if (table.verticalLines) {
+ --w;
+ }
int align = c.getAlignment();
String salign = "left";
if (align == Style.CENTER) {

darrellmeyer
25 Apr 2008, 10:00 AM
The code has been updated in SVN.