]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixed JS stylename "text-align" -> "textAlign"
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 13 Jul 2007 12:56:04 +0000 (12:56 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 13 Jul 2007 12:56:04 +0000 (12:56 +0000)
svn changeset:1855/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java

index 8a2a1f2638eef1693e381166fb0a0f3bf1fe5123..206c4a82a10825e85812a9e83606aa5110af5c81 100644 (file)
@@ -828,13 +828,13 @@ public class IScrollTable extends Composite implements Paintable, ITable, Scroll
                        if(align  != c) {
                                switch(c) {
                                case ALIGN_CENTER:
-                                       DOM.setStyleAttribute(captionContainer, "text-align", "center");
+                                       DOM.setStyleAttribute(captionContainer, "textAlign", "center");
                                        break;
                                case ALIGN_RIGHT:
-                                       DOM.setStyleAttribute(captionContainer, "text-align", "right");
+                                       DOM.setStyleAttribute(captionContainer, "textAlign", "right");
                                        break;
                                default:
-                                       DOM.setStyleAttribute(captionContainer, "text-align", "");
+                                       DOM.setStyleAttribute(captionContainer, "textAlign", "");
                                        break;
                                }
                        }
@@ -1480,11 +1480,11 @@ public class IScrollTable extends Composite implements Paintable, ITable, Scroll
                                if(align != ALIGN_LEFT) {
                                        switch (align) {
                                        case ALIGN_CENTER:
-                                               DOM.setStyleAttribute(container, "text-align", "center");
+                                               DOM.setStyleAttribute(container, "textAlign", "center");
                                                break;
                                        case ALIGN_RIGHT:
                                        default:
-                                               DOM.setStyleAttribute(container, "text-align", "right");
+                                               DOM.setStyleAttribute(container, "textAlign", "right");
                                                break;
                                        }
                                }