This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Buttons with rounded corners

General questions regarding the development with JVx.

Buttons with rounded corners

Postby ANH » Thu Oct 11, 2018 12:30 pm


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

Thank you!

Best regards,
Posts: 11
Joined: Fri Jun 29, 2018 11:42 am

Re: Buttons with rounded corners

Postby Support@SIB » Thu Oct 11, 2018 1:13 pm

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.
User avatar
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm

Re: Buttons with rounded corners

Postby Development@SIB » Thu Oct 11, 2018 5:32 pm

It's also possible to use a standard UIButton and set all images:

Code: Select all

and set the border painted to false.
User avatar
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Return to Development