Buttons with rounded corners
3 posts
• Page 1 of 1
Buttons with rounded corners
Hello,
is there a possibility to create buttons with rounded corners independently from technology?
Thank you!
Best regards,
Andreas
is there a possibility to create buttons with rounded corners independently from technology?
Thank you!
Best regards,
Andreas
- ANH
- Posts: 11
- Joined: Fri Jun 29, 2018 11:42 am
Re: Buttons with rounded corners
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.
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.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Buttons with rounded corners
It's also possible to use a standard UIButton and set all images:
and set the border painted to false.
- Code: Select all
setImage
setMouseOverImage
setPressedImage
and set the border painted to false.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
3 posts
• Page 1 of 1