Add SetStyle Function
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user