Page 1 of 1

Rounded corners?

PostPosted: 20 Aug 2014 01:13
by Luckman
I see that the menu component has this property but the context menu does not. Is there a way to do this easily with context menu? Thanks!

Re: Rounded corners?

PostPosted: 20 Aug 2014 09:40
by Alexander Bulei
Hi Luckman,

You can use ClassName property to add your custom css class to menu list.

delphi code
IWCGJQContextMenu1.JQContextMenuOptions.ClassName_:= 'mycontextmenu';


and css class:

css code
.mycontextmenu {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}


Help Topics:
- http://www.cgdevtools.com/cgforum/viewtopic.php?f=5&t=1539
- http://www.cgdevtools.com/cgforum/viewtopic.php?f=5&t=1306

Best Regards.