litesoft
Diff Revisions
151
vs
712
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/MockTable.java
|
@@ -11,6 +11,7 @@ |
11 |
11 |
|
import com.google.gwt.user.client.ui.HasHorizontalAlignment.*; |
12 |
12 |
|
import com.google.gwt.user.client.ui.HasVerticalAlignment.*; |
13 |
13 |
|
import com.google.gwt.user.client.ui.*; |
|
14 |
+ |
import org.litesoft.core.util.HTMLConstants; |
14 |
15 |
|
|
15 |
16 |
|
class MockTable |
16 |
17 |
|
{ |
|
@@ -49,7 +50,7 @@ |
49 |
50 |
|
maxPaddingBottom = Math.max( paddingBottom, maxPaddingBottom ); |
50 |
51 |
|
} |
51 |
52 |
|
TableCellElement td = Document.get().createTDElement(); |
52 |
|
- |
td.setInnerHTML( " " ); |
|
53 |
+ |
td.setInnerHTML( HTMLConstants.NBSP ); |
53 |
54 |
|
td.getStyle().setPropertyPx( "paddingTop", maxPaddingTop ); |
54 |
55 |
|
td.getStyle().setPropertyPx( "paddingBottom", maxPaddingBottom ); |
55 |
56 |
|
gridRow.appendChild( td ); |