How to change the highlight color of selected menu item?

36 views
Skip to first unread message

aihua

unread,
Dec 2, 2019, 11:48:36 AM12/2/19
to leo-editor

Chris George

unread,
Dec 2, 2019, 6:58:34 PM12/2/19
to leo-editor
The setting is in your theme .leo file.

For example, I use ZephyrDarkTheme.leo. Here is the UNL to the Menus section. The specific setting you are looking to change is QMenu::item:selected

/home/chris/.leo/themes/ZephyrDarkTheme.leo#@settings-->@theme Zephyr Dark-->@data qt-gui-plugin-style-sheet-->Menus

HTH,

Chris

On Mon, Dec 2, 2019 at 8:48 AM aihua <sunxiao...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/4ec3e703-51b4-43e9-8f73-d552c2e363a9%40googlegroups.com.

aihua

unread,
Dec 5, 2019, 7:39:12 PM12/5/19
to leo-editor
Thx.

the problem is in EKRLight.leo theme, other themes is ok.
I try to modify the style in menus but no effect.

I change my setting refer to QT doc and other themes

Leo Log Window
Leo 6.1-final, master branch, build b80e074204
2019-11-08 12:36:03 -0600
Python 3.8.0, PyQt version 5.12.6
Windows 7 AMD64 (build 6.1.7601) SP1

On Tuesday, December 3, 2019 at 7:58:34 AM UTC+8, Chris George wrote:
The setting is in your theme .leo file.

For example, I use ZephyrDarkTheme.leo. Here is the UNL to the Menus section. The specific setting you are looking to change is QMenu::item:selected

/home/chris/.leo/themes/ZephyrDarkTheme.leo#@settings-->@theme Zephyr Dark-->@data qt-gui-plugin-style-sheet-->Menus

HTH,

Chris

On Mon, Dec 2, 2019 at 8:48 AM aihua <sunxiao...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-e...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages