Need help styling context menu
jerome.cambon at oracle.com
Tue Dec 11 00:58:28 PST 2012
Alternatively you can try the new CSS Analyzer from Scene Builder 1.1.
It shows all the CSS properties available for a selected node, with a
link from each property on the JavaFX CSS Reference Guide
You can have an idea on how to use it from here
On 12/11/12 1:35 AM, John Smith wrote:
> I think it would be beneficial to have something that visually shows the css classes of the elements which can be styled.
> See here for a sample from the ZK style guide on the kind of visual callout of style classes I am thinking of:
> -----Original Message-----
> From: openjfx-dev-bounces at openjdk.java.net [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf Of Jonathan Giles
> Sent: Monday, December 10, 2012 3:26 PM
> To: Pedro Duque Vieira
> Cc: OpenJFX Mailing List
> Subject: Re: Need help styling context menu
> Certainly we have a long way to go in improving our technical documentation. I will try to do a big push prior to 8.0 shipping to improve it as much as possible.
> -- Jonathan
> On 11/12/2012 12:24 p.m., Pedro Duque Vieira wrote:
>> I've solved the issue with the separator. Sorry for bothering you, it
>> was something I mistakenly overlooked.
>> The issue that there is no documentation on styling Context Menu
>> througth CSS still remains though,
>> Thanks, best regards,
>> On Mon, Dec 10, 2012 at 8:38 PM, Jonathan Giles
>> <jonathan.giles at oracle.com <mailto:jonathan.giles at oracle.com>> wrote:
>> There are plenty of references to .separator in caspian.css - I
>> wouldn't discount how useful referring to these would be.
>> If you continue to have trouble definitely file a bug report and
>> we'll take a look.
>> -- Jonathan
>> On 11/12/2012 9:19 a.m., Pedro Duque Vieira wrote:
>> Need help styling context menu using CSS. First the CSS
>> reference guide has
>> nothing on this, second consulting caspian.css won't help
>> because there's
>> very little code for this class.
>> What I'm struggling with right now is in defining an alternate
>> look for the
>> separator line (on the context menu), from what I've seen so
>> far I can say
>> that it is not consistent with the other separators because
>> with the same
>> lines of CSS I can't get it to have the same black colored
>> solid look.
>> Can someone give me some guidelines on this?
>> Thanks in advance, :)
>> Pedro Duque Vieira
More information about the openjfx-dev