From 479d99d03cdb5d367dee662eb8e0865d8d8d2662 Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 11 Nov 2021 19:06:59 +0000 Subject: [PATCH] Tweaks to the hex viewier widget toolbar button styling --- .../InsightWindow/Stylesheets/InsightWindow.qss | 10 ++++++++++ .../HexViewerWidget/UiFiles/HexViewerWidget.ui | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss index 6151614b..8754465e 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss @@ -379,6 +379,16 @@ QScrollBar::sub-line:vertical { padding: 0; } +#hex-viewer-container #tool-bar QToolButton:checked { + background-color: #484842; + border: none; +} + +#hex-viewer-container #tool-bar QToolButton:checked:disabled { + background-color: #3d3d39; + border: none; +} + #hex-viewer-container #tool-bar #separator { background-color: transparent; border-right: 1px solid #41423f; diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui index f8b46cce..8d39bb08 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui @@ -59,6 +59,9 @@ + + true + :/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-stack-memory.svg @@ -72,6 +75,9 @@ + + true + :/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-focused-memory.svg