413 constraints->grid.pref_width = child->core.width; |
422 constraints->grid.pref_width = child->core.width; |
414 } |
423 } |
415 if(constraints->grid.pref_height == 0) { |
424 if(constraints->grid.pref_height == 0) { |
416 constraints->grid.pref_height = child->core.height; |
425 constraints->grid.pref_height = child->core.height; |
417 } |
426 } |
|
427 if(constraints->grid.pref_width < constraints->grid.min_width) { |
|
428 constraints->grid.pref_width = constraints->grid.min_width; |
|
429 } |
418 |
430 |
419 if(constraints->grid.colspan > span_max || constraints->grid.rowspan > span_max) { |
431 if(constraints->grid.colspan > span_max || constraints->grid.rowspan > span_max) { |
420 continue; |
432 continue; |
421 } |
433 } |
422 |
434 |