secondChild = w;
}
- public void setHeight(final String height) {
- super.setHeight(height);
- if (isAttached()) {
- // give sane height
- getOffsetHeight(); // shake IE
- if (getOffsetHeight() < MIN_SIZE) {
- super.setHeight(MIN_SIZE + "px");
- }
- }
- }
-
- public void setWidth(String width) {
- super.setWidth(width);
- if (isAttached()) {
- // give sane width
- getOffsetWidth(); // shake IE
- if (getOffsetWidth() < MIN_SIZE) {
- super.setWidth(MIN_SIZE + "px");
- }
- }
- }
-
public void onBrowserEvent(Event event) {
switch (DOM.eventGetType(event)) {
case Event.ONMOUSEMOVE: