SetAutoHeight sets if the panel minimum height should be the height of the largest of its children's height.
(state bool)
| 69 | // SetAutoHeight sets if the panel minimum height should be the height of |
| 70 | // the largest of its children's height. |
| 71 | func (bl *HBoxLayout) SetAutoHeight(state bool) { |
| 72 | |
| 73 | bl.autoHeight = state |
| 74 | bl.Recalc(bl.pan) |
| 75 | } |
| 76 | |
| 77 | // SetAutoWidth sets if the panel minimum width should be sum of its |
| 78 | // children's width plus the spacing |
no test coverage detected