On Jun 1, 7:06 am, "Edward K. Ream" <[email protected]> wrote:
> On Wed, Jun 1, 2011 at 12:08 AM, zpcspm <[email protected]> wrote:
> > Are the color settings in "leoSettings.leo-->@settings-->Colors-->Body
> > pane colors" documented somewhere?
>
> Good question. They should be documented in leoSettings.leo, in the
> node you give.
Actually, they are documented in each individual @color node. I
suppose the setting name is supposed to be self-explanatory :-) Let
me know if you have specific questions.
I'm so glad you asked this question, because it reminds me that some
settings are Tk-only, and should be removed. This must be done
carefully, but it's worth doing for b1.
> > Also, I still don't know how to change the style of the splitter (it
> > stays blue while I want it dark).
Changing this item in the @data qt-gui-plugin-style-sheet node works
for me::
QSplitter::handle {
background-color: #CAE1FF; /* lightSteelBlue1 */
}
Make sure you are changing the right stylesheet. Do print-settings as
needed to discover what file is giving you the @data node.
> > Command buttons in the toolbar look ugly as well (yellow and blue).
>
> That's a separate issue, although as I think of it you could call this
> a bug. Indeed, the code in mod_scripting.py goes to a lot of trouble
> to set the button colors, but it seems that just using the stylesheet
> would be a lot more elegant and flexible.
As of rev 4212 the mod_scripting plugin no longer sets colors of
buttons. Instead, you use the stylesheet entries. Here are the new
items in the stylesheet. Note the comment about button names::
QQQQQ
/* Default colors for icons in the icon area. */
QPushButton {
background-color: #CAE1FF; /* lightSteelBlue1 */
/* border: none; /* Needed to make background-color "stick" */
}
/*
You may set colors for individual buttons by name.
To get a list of button names, enable tracing for
the qtIconBarClass.add method in qtGui.py.
*/
/* Colors for the "script-button" button. */
QPushButton#script-button-button {
background-color: #ffffcc;
/* border: none; /* Needed to make background-color "stick" */
}
QQQQQ
Your question came at the perfect time. All these changes should
indeed be part of b1.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.