SetReadOnly sets the [states.ReadOnly] flag to the given value.
(ro bool)
| 500 | |
| 501 | // SetReadOnly sets the [states.ReadOnly] flag to the given value. |
| 502 | func (s *Style) SetReadOnly(ro bool) { |
| 503 | s.SetState(ro, states.ReadOnly) |
| 504 | } |
| 505 | |
| 506 | // CenterAll sets all of the alignment properties to [Center] |
| 507 | // such that all children are fully centered. |
no test coverage detected