From: Matti Tahvonen Date: Fri, 13 Jul 2007 12:56:04 +0000 (+0000) Subject: fixed JS stylename "text-align" -> "textAlign" X-Git-Tag: 6.7.0.beta1~6173 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a70cba5357227645054d598a43e0b35892c423c1;p=vaadin-framework.git fixed JS stylename "text-align" -> "textAlign" svn changeset:1855/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java index 8a2a1f2638..206c4a82a1 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java @@ -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; } }