Skip to content

Commit e504af4

Browse files
committed
Image radius in UI
1 parent 5bf19e3 commit e504af4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/gui/document.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func pageID(doc *document.IdDocument) *fyne.Container {
6565
imgWidget := canvas.NewImageFromImage(doc.Portrait)
6666
imgWidget.SetMinSize(fyne.Size{Width: 200, Height: 250})
6767
imgWidget.FillMode = canvas.ImageFillContain
68+
imgWidget.CornerRadius = theme.InputRadiusSize()
6869

6970
cryptoButton := widget.NewButton(t("ui.crypto"), cryptoList)
7071
cryptoButton.Alignment = widget.ButtonAlignCenter

0 commit comments

Comments
 (0)