From 6ac092d618c5d02bba9ec82c6321ac1112cca9ea Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 12 Sep 2021 19:36:50 -0400 Subject: [PATCH] Scale search results indent to font size --- piker/ui/_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_search.py b/piker/ui/_search.py index 98ed9d0b..48561a24 100644 --- a/piker/ui/_search.py +++ b/piker/ui/_search.py @@ -118,7 +118,7 @@ class CompleterView(QTreeView): self.setModel(model) self.setAlternatingRowColors(True) # TODO: size this based on DPI font - self.setIndentation(20) + self.setIndentation(_font.px_size) # self.setUniformRowHeights(True) # self.setColumnWidth(0, 3)