Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

UI Background Color Overflow

Image

When testing on an Android device (4.2.2) using the Appery tester, my UI's background colors are bleeding outside of their rounded corners. I believe that I need to set my UI elements' overflow to false, but I'm unsure of the correct CSS coding to use to do so.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

UI Background Color Overflow

Hello Mike,

Please try
pre{
overflow:auto;
}/pre

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

UI Background Color Overflow

Can I apply this to all of the UI elements (buttons, back buttons, toggles, etc.) at once?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

UI Background Color Overflow

Mike,

You should add the same class to the Class Name property of the elements you want to be applied, for example my-class and use

.my-class{
overflow:auto;
}

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

UI Background Color Overflow

Evgene,

This didn't work for me when testing on Android 4.2.2 using the Appery tester. I also tried setting overflow to hidden without any luck.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

UI Background Color Overflow

Mike,

Could you please show us the printscreens:

Place where you put css-code
How you add Class Name property for the elements you want to be applied?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

UI Background Color Overflow

Mike,

It's not the best idea to call your class as a property. Could you please rename your class to my_overflow, for example and try once again?

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

UI Background Color Overflow

This did not work. The app ("Sheridan") is shared with support if you'd like to take a closer look at it.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

UI Background Color Overflow

Hello Mike,

Could you please clarify, do you apply any other css rules for any of your components? Maybe the overflow rule is "rewritten" by some of them?

Return to “Issues”