white-space: nowrap;
}
.v-errorindicator {
- float: left;
+ display: inline-block;
}
.v-caption .v-icon {
- float: left;
+ display: inline-block;
padding-right: 2px;
vertical-align: middle;
}
.v-caption .v-captiontext {
- float: left;
+ display: inline-block;
overflow: hidden;
vertical-align: middle;
}
.v-caption .v-required-field-indicator {
- float: left;
+ display: inline-block;
}
-
-.v-caption-clearelem {
- clear: both;
- width: 0;
- height: 0;
- overflow: hidden;
-}
-
-.v-ie9 .v-gridlayout-margin>div>div>.v-caption,
-.v-ie9 .v-verticallayout>div>div>.v-caption,
-.v-ie9 .v-horizontallayout>div>div>.v-caption {
- /* Fix possible sub pixel rounding errors that cause error indicators to drop */
- margin-right:-0.5px;
-}
\ No newline at end of file
private Element captionText;
- private Element clearElement;
-
private final ApplicationConnection client;
private boolean placedAfterComponent = false;
protected static final String ATTRIBUTE_ERROR = "error";
protected static final String ATTRIBUTE_HIDEERRORS = "hideErrors";
- private static final String CLASSNAME_CLEAR = CLASSNAME + "-clearelem";
-
/**
*
* @param component
errorIndicatorElement = null;
}
- if (clearElement == null) {
- clearElement = DOM.createDiv();
- clearElement.setClassName(CLASSNAME_CLEAR);
- getElement().appendChild(clearElement);
- }
-
return (wasPlacedAfterComponent != placedAfterComponent);
}