svn changeset:16234/svn branch:6.5
if (client.updateComponent(this, uidl, true)) {
return;
}
+
+ handleDynamicDimensions(uidl);
}
@Override
}
}
+ private void handleDynamicDimensions(UIDL uidl) {
+ String w = uidl.hasAttribute("width") ? uidl
+ .getStringAttribute("width") : "";
+
+ String h = uidl.hasAttribute("height") ? uidl
+ .getStringAttribute("height") : "";
+
+ if (w.equals("")) {
+ dynamicWidth = true;
+ } else {
+ dynamicWidth = false;
+ }
+
+ if (h.equals("")) {
+ dynamicHeight = true;
+ } else {
+ dynamicHeight = false;
+ }
+
+ }
+
@Override
public void setHeight(String height) {
super.setHeight(height);