ContextMenu styling (esp. for MenuButton)

Randahl Fink Isaksen randahl at rockit.dk
Wed Oct 24 05:13:55 PDT 2012


I have had success with using nested selectors such as

.myusecase .button {}

where .myusecase is a style class added to a parent component by my app and .button is the style class that Button adds itself. This affects only buttons in that particular use-case. Couldn't you do something similar, of course with whatever style class the popup has?

R.


On Oct 24, 2012, at 13:23 , Werner Lehmann <lehmann at media-interactive.de> wrote:

> I looked at it a while ago - but what are you suggesting? How would this help with styling a menubutton contextmenu (for a particular usecase), or even with a general style for all application contextmenus?
> 
> Werner
> 
> On 24.10.2012 13:07, Randahl Fink Isaksen wrote:
>> Have you looked at caspian.css? I would imagine there was a solution in there.
> 



More information about the openjfx-dev mailing list