Need help styling context menu
David Grieve
david.grieve at oracle.com
Tue Dec 11 06:48:58 PST 2012
I created http://javafx-jira.kenai.com/browse/RT-26878 to track the lack of documentation for styling context menu.
On Dec 11, 2012, at 6:14 AM, Pedro Duque Vieira <pedro.duquevieira at gmail.com> wrote:
> Thank you for that Jonathan! I think the CSS documentation can improve
> significantly, it hasn't got the quality of other documentation you can see
> on JavaFX.
>
> Thank you, best regards,
>
> On Tue, Dec 11, 2012 at 12:35 AM, John Smith <John_Smith at symantec.com>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:
>>
>> http://books.zkoss.org/wiki/ZK%20Style%20Guide/XUL%20Component%20Specification/Column/Default
>>
>> http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Colorbox/Default
>>
>> -----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:
>>>
>>> Hi,
>>>
>>> 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
>>
>>
>
>
> --
> Pedro Duque Vieira
More information about the openjfx-dev
mailing list