Fork us on GitHub

Round Border in the Designer

Use the new round border API in the Codename One designer tool
Post Image

Round Border in the Designer

We introduced the new RoundBorder API a couple of weeks ago and it’s already picking some usage. But to really take off it needs to be within the themes, starting with the next plugin update the border section of the designer tool will include the options for round border.

This is a bit confusing since we already support a rounded border type. The rounded border type is a rectangle with rounded corners where the round border has completely round sides or appears as a circle.

To make matters worse the round border has a ridiculous number of features/configurations that would have made the already cluttered UI darn near impossible to navigate. To simplify we split the UI into 3 tabs for standard borders, image borders and round border. This new UI is still a bit flaky but the result is what counts and the ability to build a theme with these types of borders is tremendous.

I hope that this addition to the designer will make the creation of great looking themes a bit easier.

The round border support in the designers border section
Figure 1. The round border support in the designers border section
Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.