Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8332363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:42:03+00:00 2026-06-09T02:42:03+00:00

So i am building an app with codename one How to customize the shape

  • 0

So i am building an app with codename one

How to customize the shape of a container?

1)For example, currently a dialog box is shown in the form a rectangle. WHat if I wish to shape it as a circle/triangle/ etc?

2)Now, in codename one , there is a theme (one which has a wooden panel), so I wish to model the dialog box as a leaf. So when I say Dialog.Show(), A leaf will popup. And to this leaf,I can add whatever I want (textbox,text area etc.) . So what I will see on the screen is: a wooden panel and a dialog box in the form of leaf on top of it.

3)Now, if you have used whats app, you’ll see that all the chat content is fit inside a shoutbox. how Can i do this?ie. I want a shoutbox with text in it. and the size of the shoutbox will grow dynamically to fit my text.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:42:04+00:00Added an answer on June 9, 2026 at 2:42 am

    All components in Codename One are square, however they can be transparent in portions thus giving you the desired effect (you obviously need to use a combination of padding/layout to fit within the drawable shape).

    Just use either an image or an image border to create the look and leave the appropriate pixels transparent. Notice that quite a few of the themes (e.g. the iOS dialogs) have rounded corners which is pretty much the same thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently building an app for managing a small organization. One of the functions
I am building an app with codename one So, I basically want to send
Currently building an app that runs on mobile phones not related to the issue
So I'm building an app that needs to know the location of the Box
Am currently building an app and I want the timer to start only when
I am building one app having One list view showing the list of My
I'm building an App that requires a custom font. I added the form to
The App Layout I am building an App, where one can create surveys. Every
I'm building an app which needs display a particular form always on top (this
I am building one app having one list view showing list of users this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.