mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
allow changing of title color
This commit is contained in:
parent
c717cecff9
commit
d05300d849
@ -113,6 +113,13 @@ func (widget *TextWidget) addView(app *tview.Application, configKey string) {
|
|||||||
),
|
),
|
||||||
))
|
))
|
||||||
|
|
||||||
|
view.SetTitleColor(colorFor(
|
||||||
|
Config.UString(
|
||||||
|
fmt.Sprintf("wtf.mods.%s.colors.title", configKey),
|
||||||
|
Config.UString("wtf.colors.title", "white"),
|
||||||
|
),
|
||||||
|
))
|
||||||
|
|
||||||
view.SetBorder(true)
|
view.SetBorder(true)
|
||||||
view.SetBorderColor(colorFor(widget.BorderColor()))
|
view.SetBorderColor(colorFor(widget.BorderColor()))
|
||||||
view.SetChangedFunc(func() {
|
view.SetChangedFunc(func() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user