applyStyle applies the specified menu body style
(mbs *MenuBodyStyle)
| 459 | |
| 460 | // applyStyle applies the specified menu body style |
| 461 | func (m *Menu) applyStyle(mbs *MenuBodyStyle) { |
| 462 | |
| 463 | m.Panel.ApplyStyle(&mbs.PanelStyle) |
| 464 | } |
| 465 | |
| 466 | // recalc recalculates the positions of this menu internal items |
| 467 | // and the content width and height of the menu |