CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Button - delete round corners

by jorgo » 22 Mar 2017 10:28

Hi,
how to delete round button corners?

1.) TIWCGJQEdit - delete "ui-corner-all" from property "css"
2.) TIWCGJQButton - property "css" contains nothing

Kind regards
jorgo
 
Posts: 108
Joined: 13 Jul 2016 15:57

by Alexander Bulei » 22 Mar 2017 11:19

Hi jorgo,

You have 2 ways to do that:

  1. Create the custom css rule in custom css file (if you don't have, create it..):
    css code
    .no-corners{
    border-radius: 0 !important;
    }


    Then, add the new css rule name to component:

    delphi code
    IWCGJQButton1.JQButtonOptions.ButtonCss:= 'no-corners';

  2. Add the inline-style to button through the IWCGJQButton1.Style property:

    Attr: border-radius
    Value: 0

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 JQButton & JQButtonSet

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.