diff options
Diffstat (limited to 'ui/listview.go')
-rw-r--r-- | ui/listview.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/listview.go b/ui/listview.go index 17df1b23..a8c5de89 100644 --- a/ui/listview.go +++ b/ui/listview.go @@ -129,7 +129,7 @@ func (tv *ListView) StyleCell(style *walk.CellStyle) { if err != nil { return } - margin := tv.DPI() / 48 //TODO: Do some sort of dynamic DPI calculation here + const margin = 2 b.X = margin b.Y += margin b.Height -= margin * 2 |