Add SetStyle Function

This commit is contained in:
2026-01-23 09:36:43 -06:00
parent d442b7d6a8
commit c1296b1dc1
31 changed files with 425 additions and 392 deletions

View File

@@ -160,7 +160,8 @@ func (w *LinearLayout) Draw(screen tcell.Screen) {
}
}
func (w *LinearLayout) Active() bool { return w.active }
func (w *LinearLayout) SetStyle(s tcell.Style) { w.style = s }
func (w *LinearLayout) Active() bool { return w.active }
func (w *LinearLayout) SetActive(a bool) {
w.active = a
if w.active {