Quote:
Originally Posted by Comfy.n
I haven't figured a way to test but maybe...
Code:
/* apply with app.setStyleSheet(...) */
*:focus {
outline: 2px solid #FFFFFF;
outline-offset: 0px;
}
/* target common editor widgets */
QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus, QTreeView:focus {
outline: 2px solid #FFFF00;}
|
Where would I put code like that, AFAIK calibre doesn't look for .qss files
Quote:
Originally Posted by BetterRed
yellow like I have for Sigil (can't remember how, maybe a BeckyEbook .qss).
|
Actually, to get what I have in Sigil is a combination of a BeckyEbook .qss
and a setting in Sigil's preferences.
In the .qss I can set border colour and width. Sigil preferences has a "Highlight Widgets with Focus (Needs Sigil Restart)" checkbox - yellow 1 pixel is in the code :sigh:
Who said it was okay to weave inconsistency and fragmentation into the Zeitgeist… when was that on any ballot. MS just sent me some toast, but they forgot the coffee.
BR