Page 1 of 1

Buttons with rounded corners

PostPosted: Thu Oct 11, 2018 12:30 pm
by ANH
Hello,

is there a possibility to create buttons with rounded corners independently from technology?

Thank you!

Best regards,
Andreas

Re: Buttons with rounded corners

PostPosted: Thu Oct 11, 2018 1:13 pm
by Support@SIB
Only if you work with images and if you create your own UIComponent.
It's also possible to set a style for a button/component and handle the style in the underlying technology.

For Desktop/Swing, it's possible to use another LaF but the same mechanism isn't valid for Web/Vaadin. Web is css based. The problem isn't JVx, it's the missing support in all technologies.

Re: Buttons with rounded corners

PostPosted: Thu Oct 11, 2018 5:32 pm
by Development@SIB
It's also possible to use a standard UIButton and set all images:

Code: Select all
setImage
setMouseOverImage
setPressedImage

and set the border painted to false.