Added some comments to the previous commit.

This commit is contained in:
Pietro Gagliardi 2015-05-03 18:15:12 -04:00
parent 84894f2fb0
commit 325f16cfb3
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ static void containerWidget_get_preferred_height(GtkWidget *widget, gint *minimu
d.xPadding = gtkXPadding;
d.yPadding = gtkYPadding;
uiControlPreferredSize(uiControl(c->c), &d, &width, &height);
*minimum = 0;
*minimum = 0; // allow arbitrary resize
*natural = height;
}
@ -97,7 +97,7 @@ static void containerWidget_get_preferred_width(GtkWidget *widget, gint *minimum
d.xPadding = gtkXPadding;
d.yPadding = gtkYPadding;
uiControlPreferredSize(uiControl(c->c), &d, &width, &height);
*minimum = 0;
*minimum = 0; // allow arbitrary resize
*natural = width;
}