diff options
| -rw-r--r-- | yubicrypt.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/yubicrypt.go b/yubicrypt.go index 2c329f2..44d32ae 100644 --- a/yubicrypt.go +++ b/yubicrypt.go @@ -158,10 +158,14 @@ func (g *GUI) createMainUI() fyne.CanvasObject { )
clearBtn := widget.NewButtonWithIcon("Clear", theme.DeleteIcon(), g.onClear)
- pinContainer := container.NewHBox(
- widget.NewLabel("PIN:"),
- g.pinEntry,
- clearBtn,
+ pinContainer := container.NewVBox(
+ container.NewHBox(
+ layout.NewSpacer(),
+ widget.NewLabel("PIN:"),
+ g.pinEntry,
+ clearBtn,
+ layout.NewSpacer(),
+ ),
)
mainContainer := container.NewBorder(
|
