diff options
| author | Stefan Claas <sacenator@gmail.com> | 2025-09-03 19:40:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 19:40:25 +0200 |
| commit | 2576731c4e7ebee132b084e4d7ba2b2441cba2da (patch) | |
| tree | e5a188e742bfd74ca12a6d0d019efd70da68212e /yubicrypt.go | |
| parent | e00358bb4b84ca7d596bc83c6cd5533c2e823aa1 (diff) | |
| download | yubicrpt-cli-2576731c4e7ebee132b084e4d7ba2b2441cba2da.tar.gz yubicrpt-cli-2576731c4e7ebee132b084e4d7ba2b2441cba2da.tar.xz yubicrpt-cli-2576731c4e7ebee132b084e4d7ba2b2441cba2da.zip | |
Add files via upload
Diffstat (limited to 'yubicrypt.go')
| -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(
|
