We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The border is not set
The border is not visible when set
Just execute the following code: Container ct=new Container();
ct.setBorderStyle(Container.BORDER_SIMPLE); ct.borderColor=Color.BLUE; ct.setBackColor(Color.RED); add(ct, CENTER, CENTER,70,70);
A blue border should be visible
Please complete the following information:
The text was updated successfully, but these errors were encountered:
Hey @VicMisael, can you check if this bug still happens on branch bugfix/container-border?
Sorry, something went wrong.
Hi Ricardo,On the simulator and win32 it's fine, have a look
The only problem that I noticed, is that BORDER_RAISED, and BORDER_LOWERED properties only allow one color on the simulator Sample code:
Container ct=new Container(); ct.setBorderStyle(Container.BORDER_SIMPLE); ct.borderColor=Color.BLUE; ct.setBackColor(Color.RED); add(ct, CENTER, CENTER,70,70); Container ct2=new Container(); ct2.setBorderStyle(Container.BORDER_ROUNDED); ct2.borderColor=Color.BLUE; ct2.setBackColor(Color.RED); add(ct2, CENTER, CENTER+100,70,70); Container ct3=new Container(); ct3.setBorderStyle(Container.BORDER_LOWERED); ct3.borderColor=Color.RED; ct3.setBackColor(Color.WHITE); add(ct3, CENTER+100, CENTER,70,70); Container ct4=new Container(); ct4.setBorderStyle(Container.BORDER_RAISED); ct4.borderColor=Color.RED; ct4.setBackColor(Color.WHITE); add(ct4, CENTER+100, CENTER+100,70,70); Container ct5=new Container(); ct5.setBorderStyle(Container.BORDER_TOP); ct5.borderColor=Color.RED; ct5.setBackColor(Color.WHITE); add(ct5, CENTER-100, CENTER,70,70); Container ct6=new Container(); ct6.setBorderStyle(Container.BORDER_NONE); ct6.borderColor=Color.BLUE; ct6.setBackColor(Color.CYAN); add(ct6, CENTER-100, CENTER-100,70,70);
ricardobna
VicMisael
Successfully merging a pull request may close this issue.
Issue Title
The border is not set
Describe the bug
The border is not visible when set
To Reproduce
Just execute the following code:
Container ct=new Container();
Expected behavior
A blue border should be visible
Screenshots or videos
Devices:
Please complete the following information:
The text was updated successfully, but these errors were encountered: