diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-03-03 21:51:27 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-03 21:51:27 -0500 |
commit | 15028df1f98a018a1913202a842d5a2850c43eb0 (patch) | |
tree | 827b9ddedd8ec3eccba070af18df2d1ce70ef020 /widgets/aerc.go | |
parent | aec5dd170e27dcf0b493301533d6869de14b7eae (diff) | |
download | aerc-15028df1f98a018a1913202a842d5a2850c43eb0.tar.gz |
Reduce size of the password prompt UI
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index e6d25259..b7071e1a 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -165,8 +165,8 @@ func (aerc *Aerc) Focus(focus bool) { func (aerc *Aerc) Draw(ctx *ui.Context) { aerc.grid.Draw(ctx) if aerc.getpasswd != nil { - aerc.getpasswd.Draw(ctx.Subcontext(4, 4, - ctx.Width()-8, ctx.Height()-8)) + aerc.getpasswd.Draw(ctx.Subcontext(4, ctx.Height()/2-2, + ctx.Width()-8, 4)) } } |