aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-15 20:40:28 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-15 20:40:28 -0400
commita729179f9fae4a89a0b65984263a7893fcab874a (patch)
treeed7dc46f8f1469513805d13a160fece944484637 /widgets/account.go
parentf406bf5a3bb953426a00f2feac1f2863a29ab269 (diff)
downloadaerc-a729179f9fae4a89a0b65984263a7893fcab874a.tar.gz
Implement sidebar-width config option
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/account.go b/widgets/account.go
index f7b9f69c..ecccd1b0 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -41,7 +41,7 @@ func NewAccountView(conf *config.AercConfig, acct *config.AccountConfig,
{ui.SIZE_WEIGHT, 1},
{ui.SIZE_EXACT, 1},
}).Columns([]ui.GridSpec{
- {ui.SIZE_EXACT, 20},
+ {ui.SIZE_EXACT, conf.Ui.SidebarWidth},
{ui.SIZE_WEIGHT, 1},
})
grid.AddChild(statusbar).At(1, 1)