Some slight Area cleanup.

This commit is contained in:
Pietro Gagliardi 2014-08-04 23:32:59 -04:00
parent 28764445b9
commit 3e25992f09
1 changed files with 0 additions and 9 deletions

View File

@ -35,15 +35,6 @@ func basepreferredSize(c controlPrivate, d *sizing) (int, int) {
// The difference? Minimum size takes into account things like truncation with ellipses: the minimum size of a label can allot just the ellipses!
// So we use the natural size instead.
// There is a warning about height-for-width controls, but in my tests this isn't an issue.
// For Areas, we manually save the Area size and use that, just to be safe.
//TODO
/*
if s.ctype == c_area {
return s.areawidth, s.areaheight
}
*/
var r C.GtkRequisition
C.gtk_widget_get_preferred_size(c.widget(), nil, &r)