litesoft
Diff Revisions
748
vs
749
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/SizeableSpacer.java
|
@@ -5,11 +5,11 @@ |
5 |
5 |
|
|
6 |
6 |
|
public class SizeableSpacer extends AbstractSizeableComposite |
7 |
7 |
|
{ |
8 |
|
- |
protected Spacer mImage = new Spacer( 1 ); |
|
8 |
+ |
protected Spacer mSpacer = new Spacer( 1 ); |
9 |
9 |
|
|
10 |
10 |
|
public SizeableSpacer() |
11 |
11 |
|
{ |
12 |
|
- |
initWidget( new ConstrainingSizeableOuterLayers( mImage, "LayoutSizeableSpacer" ) ); |
|
12 |
+ |
initWidget( new ConstrainingSizeableOuterLayers( mSpacer, "LayoutSizeableSpacer" ) ); |
13 |
13 |
|
} |
14 |
14 |
|
|
15 |
15 |
|
public SizeableSpacer( int pRectangularEdgeSize ) |
|
@@ -21,13 +21,13 @@ |
21 |
21 |
|
|
22 |
22 |
|
public SizeableSpacer width( int pPixels ) |
23 |
23 |
|
{ |
24 |
|
- |
mImage.setWidth( "" + pPixels ); |
|
24 |
+ |
mSpacer.setWidth( "" + pPixels ); |
25 |
25 |
|
return this; |
26 |
26 |
|
} |
27 |
27 |
|
|
28 |
28 |
|
public SizeableSpacer height( int pPixels ) |
29 |
29 |
|
{ |
30 |
|
- |
mImage.setHeight( "" + pPixels ); |
|
30 |
+ |
mSpacer.setHeight( "" + pPixels ); |
31 |
31 |
|
return this; |
32 |
32 |
|
} |
33 |
33 |
|
|