[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
A question about the individual rounding of the corners of controls  XML
Forum Index -> Development
Author Message
hrinne

Active

Joined: 27/11/2017 09:32:37
Messages: 16
Offline

For the design of buttons, panels etc. it would be very, very, very nice if the individual four corners of the surfaces could be rounded independently. Would that be time-consuming to design the property similar to that of the border or the inner spacing? For example, like "topleft:0;topright:0;bottemleft:0;bottomright:20". Or does anyone have an idea how else to solve this? It would give you a lot of design possibilities.
Kind regards, Holger
[Email]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi,

the best way is to do the rounding via CSS style classes. If it is part of the style then you avoid individual attributing of components.

Example:

Code:
     <class n="riscbutton">
         ...
         <style n="border-radius" v="5px"/>
         ...
 


Here you could also define:

Code:
     <class n="riscbutton">
         ...
         <style n="border-top-left-radius" v="15px"/>
         <style n="border-bottom-left-radius" v="15px"/>
         ...
 


All style-attributes are directly taken over into the corresponding CSS-style-class - so here you can use any CSS possibility.

Regards, Björn

Björn Müller, CaptainCasa GmbH
hrinne

Active

Joined: 27/11/2017 09:32:37
Messages: 16
Offline

Many thx for this answer !!!
[Email]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team