Skip to content

Commit

Permalink
Use proper selection indicator height
Browse files Browse the repository at this point in the history
  • Loading branch information
okratitan committed Oct 27, 2020
1 parent 88fe4c4 commit 93e734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ func (li *listItemRenderer) MinSize() (size fyne.Size) {
// Layout the components of the listItem widget.
func (li *listItemRenderer) Layout(size fyne.Size) {
li.item.statusIndicator.Move(fyne.NewPos(0, 0))
s := fyne.NewSize(theme.Padding(), size.Height-1)
s := fyne.NewSize(theme.Padding(), size.Height)
li.item.statusIndicator.SetMinSize(s)
li.item.statusIndicator.Resize(s)

Expand Down

0 comments on commit 93e734b

Please sign in to comment.