CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Rounded corners?

by Luckman » 20 Aug 2014 01:13

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!
Luckman
 
Posts: 80
Joined: 03 Aug 2014 19:59

by Alexander Bulei » 20 Aug 2014 09:40

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQContextMenu

Who is online

Users browsing this forum: No registered users and 7 guests

Contact Us.