I can style every part of an UI separately. But it is not handy and it would be nice to have list of Heads which are not inheriting at all or even partly.
Are there any rules about inheritance?
Column[{
"text",
Panel["panel"],
Framed["framed"],
Dynamic["dynamic"],
Button["button"],
PopupMenu["", {}, "popupMenu_Default_Label"],
PopupMenu[1, {1 -> "popupMenu_Value"}],
Pane["Pane"],
Graphics[Text@"graphics", Frame -> True]
},
BaseStyle -> {FontSize -> 60, FontColor -> Red, FontWeight -> Bold},
Spacings -> 0
]
As we can see, sometimes everything is inherited, sometimes some things, like color but not font size and sometimes nothing.
Nice example is PopupMenu which does what it wants, and the best is Framed whose frame is colored according to FontColor :D

Comments
Post a Comment