From 289e576db17f185c0c8892e87d04688598a5d464 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 30 Nov 2020 15:52:41 -0300 Subject: [PATCH] [ui] fix: history columns are too close together --- bauh/view/qt/history.py | 2 +- bauh/view/resources/style/sublime/sublime.vars | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bauh/view/qt/history.py b/bauh/view/qt/history.py index 685d6346..496ac76d 100644 --- a/bauh/view/qt/history.py +++ b/bauh/view/qt/history.py @@ -41,7 +41,7 @@ class HistoryDialog(QDialog): for col, key in enumerate(sorted(data.keys())): item = QLabel() item.setProperty('even', row % 2 == 0) - item.setText(str(data[key])) + item.setText(' {}'.format(data[key])) if current_status: item.setCursor(QCursor(Qt.WhatsThisCursor)) diff --git a/bauh/view/resources/style/sublime/sublime.vars b/bauh/view/resources/style/sublime/sublime.vars index 56f09d56..6fbed74d 100644 --- a/bauh/view/resources/style/sublime/sublime.vars +++ b/bauh/view/resources/style/sublime/sublime.vars @@ -5,6 +5,7 @@ color.blue=#67D8EF color.green=#A6E22C color.orange=#FD9621 color.pink=#F92472 +color.purple=#AC80FF color.yellow=#E7DB74 disabled.color=#ABABAB error.color=@color.pink @@ -13,7 +14,7 @@ focus.font.color=@color.yellow font.color=#F8F8F2 history.version.focus.color=@font.color history.version.outdated=@color.orange -history.version.updated=@color.green +history.version.updated=@color.purple inner_widget.background.color=#282925 menu.item.selected.font.color=@color.yellow menu.item.selected.background.color=#48473D