mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Nowrap text on widget that don't need to wrap text
This commit is contained in:
committed by
Chris Cummer
parent
2f63a56eae
commit
da8220ff0d
@@ -20,7 +20,7 @@ func NewWidget() *Widget {
|
||||
widget := Widget{
|
||||
Name: "Calendar",
|
||||
RefreshedAt: time.Now(),
|
||||
RefreshInterval: 1800,
|
||||
RefreshInterval: 60,
|
||||
}
|
||||
|
||||
widget.addView()
|
||||
@@ -48,6 +48,7 @@ func (widget *Widget) addView() {
|
||||
view.SetBorder(true)
|
||||
view.SetDynamicColors(true)
|
||||
view.SetTitle(widget.Name)
|
||||
view.SetWrap(false)
|
||||
|
||||
widget.View = view
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user