From f1665517f41d8e304e1fb864e8f9641074430ea7 Mon Sep 17 00:00:00 2001
From: Artur Signell
- * Note that the component width of the GridLayout must be defined (fixed or - * relative, as opposed to undefined) for this method to have any effect. - *
+ * Note, that width of this GridLayout needs to be defined (fixed or + * relative, as opposed to undefined height) for this method to have any + * effect. + *
+ * Note that checking for relative width for the child components is done on
+ * the server so you cannot set a child component to have undefined width on
+ * the server and set it to 100%
in CSS. You must set it to
+ * 100%
on the server.
*
* @see #setWidth(float, int)
*
@@ -1120,9 +1125,14 @@ public class GridLayout extends AbstractLayout implements
*
- * Note, that height needs to be defined (fixed or relative, as opposed to - * undefined height) for this method to have any effect. - *
+ * Note, that height of this GridLayout needs to be defined (fixed or + * relative, as opposed to undefined height) for this method to have any + * effect. + *
+ * Note that checking for relative height for the child components is done
+ * on the server so you cannot set a child component to have undefined
+ * height on the server and set it to 100%
in CSS. You must set
+ * it to 100%
on the server.
*
* @see #setHeight(float, int)
*
--
2.39.5