Reduce size of the password prompt UI
This commit is contained in:
parent
aec5dd170e
commit
15028df1f9
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ func (aerc *Aerc) Focus(focus bool) {
|
||||||
func (aerc *Aerc) Draw(ctx *ui.Context) {
|
func (aerc *Aerc) Draw(ctx *ui.Context) {
|
||||||
aerc.grid.Draw(ctx)
|
aerc.grid.Draw(ctx)
|
||||||
if aerc.getpasswd != nil {
|
if aerc.getpasswd != nil {
|
||||||
aerc.getpasswd.Draw(ctx.Subcontext(4, 4,
|
aerc.getpasswd.Draw(ctx.Subcontext(4, ctx.Height()/2-2,
|
||||||
ctx.Width()-8, ctx.Height()-8))
|
ctx.Width()-8, 4))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue