(value Layout)
| 189 | } |
| 190 | |
| 191 | func (fb *FormBase) SetLayout(value Layout) error { |
| 192 | if fb.clientComposite == nil { |
| 193 | return newError("clientComposite not initialized") |
| 194 | } |
| 195 | |
| 196 | return fb.clientComposite.SetLayout(value) |
| 197 | } |
| 198 | |
| 199 | func (fb *FormBase) SetBoundsPixels(bounds Rectangle) error { |
| 200 | if layout := fb.Layout(); layout != nil { |