Skip to content

Commit 8a603df

Browse files
committed
theme: add border around mdi windows, sim.gui: add view icon to menu actions
1 parent 0a5ebaa commit 8a603df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/kevinbotlib/simulator/_gui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def payload_sender(payload: WindowViewOutputPayload):
238238

239239
self.views[winid] = view
240240
action: QAction = self.windows_menu.addAction(view.title)
241+
action.setIcon(view.icon(global_dark_mode))
241242

242243
def _show_window() -> QWidget:
243244
mdi_child = self._mdi_children.get(winid)

src/kevinbotlib/ui/base.qss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ QCheckBox::indicator:hover:disabled {
818818

819819
QMdiSubWindow {
820820
background: {{bg3}};
821+
border: 1px solid {{bg4}};
821822
}
822823

823824
#SimulatorMdiTitleBar {

0 commit comments

Comments
 (0)