summaryrefslogtreecommitdiffstats
path: root/yubicrypt.go
diff options
context:
space:
mode:
authorStefan Claas <sacenator@gmail.com>2025-09-03 19:40:25 +0200
committerGitHub <noreply@github.com>2025-09-03 19:40:25 +0200
commit2576731c4e7ebee132b084e4d7ba2b2441cba2da (patch)
treee5a188e742bfd74ca12a6d0d019efd70da68212e /yubicrypt.go
parente00358bb4b84ca7d596bc83c6cd5533c2e823aa1 (diff)
downloadyubicrpt-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.go12
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(