From 7b6ab865880ed45d007c53a01ecff7c2df4c049e Mon Sep 17 00:00:00 2001 From: Paul Giblock Date: Thu, 5 Jun 2008 08:55:53 +0000 Subject: [PATCH] Fix checkmarks on menus git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1071 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 5 +++++ data/themes/default/style.css | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index aad15a46d..c4a0901ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-05 Paul Giblock + + * data/themes/default/style.css: + fix check-marks on menus. They used to all appear checked no matter what + 2008-06-05 Tobias Doerffel * include/track.h: diff --git a/data/themes/default/style.css b/data/themes/default/style.css index 7a365ea9f..aedd64739 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -51,6 +51,21 @@ QMenu::item:disabled { padding: 4px 32px 4px 20px; } +QMenu::indicator { + width: 16; + height: 16; + opacity: 0; + background-color: rgb( 192, 192, 192 ); +} + +QMenu::indicator:checked { + image: url("resources:apply.png"); +} + +QMenu::indicator:selected { + background-color: rgb(54,57,66); +} + pianoRoll { background-color: rgb(0, 0, 0); } @@ -135,3 +150,7 @@ organicInstrumentView knob#volKnob { qproperty-centerPointY: 13.8; qproperty-lineWidth: 3; } + +QToolButton { + padding: 1; +}