Reputation: 21
I have this picture of a Form that I want to re-create in Codename One UI design, but I'm stuck at separating the two buttons by a white line. See image below to give me an idea of how to achieve this:
Upvotes: 0
Views: 123
Reputation: 7483
In this type of design, you will have to extract the text/buttons from the background image. Follow these steps:
theme.res
and create a custom form uiid which will have background image scaled to fill.GridLayout
with 2 rows and 1 column.new BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER)
.BoxLayout.y()
.Upvotes: 3