TODO - if the style is changed this needs to be called to update the scrollbars and corner panel
(ss *ScrollerStyle)
| 557 | |
| 558 | // TODO - if the style is changed this needs to be called to update the scrollbars and corner panel |
| 559 | func (s *Scroller) applyStyle(ss *ScrollerStyle) { |
| 560 | |
| 561 | s.style = ss |
| 562 | |
| 563 | s.vscroll.applyStyle(&s.style.VerticalScrollbar.ScrollBarStyle) |
| 564 | s.hscroll.applyStyle(&s.style.HorizontalScrollbar.ScrollBarStyle) |
| 565 | s.corner.ApplyStyle(&s.style.CornerPanel) |
| 566 | |
| 567 | s.Update() |
| 568 | } |
no test coverage detected