Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Nav bar skew in the header with V2.0 libs

I've put a navigation bar inside the header of a page in my project. There are no icons in the components of nav bar. Please see first screenshot on how it looks within Appery UI screen. When I run the test, the nav bar components become wider (second screen shot) with space above the text. This was not the case with old libraries but with upgrade to V2.0 this issue has surfaced up: so this is a bit frustrating.

What would you suggest to resolve this?

Image

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Nav bar skew in the header with V2.0 libs

Hello Cody,

I can not reproduce.
Have you tried to run app as native? Do you have the same behavior?

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Nav bar skew in the header with V2.0 libs

Hi Alena,

I'll next send an email to support with details to log on and reproduce the issue. Yes, I have the same behavior on two different iOS devices I've tested it on.

Look forward to your feedback.
Thank you.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Nav bar skew in the header with V2.0 libs

Cody,

It happens because you set Icon to None, you will need to add style to prevent showing that part above:

You can use padding-top property. For example:
pre.ui-btn {
padding-top: 5px;}/pre

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Nav bar skew in the header with V2.0 libs

Alena,

Thanks. There are however undesirable border effects due to this padding, no matter how much I play with number of padding pixels: please see screenshot. What I was looking to get shown instead is as in the second screenshot view (no borders), which was the case with old libs.

What do you suggest?
Thanks.

Image

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Nav bar skew in the header with V2.0 libs

Hi Cody,

Please add this CSS code:pre[name=mobilenavbarName] a{
padding: 12px;
}/pre

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Nav bar skew in the header with V2.0 libs

Hi Katya,

Thanks for your feedback on this. I did not change anything, but the issue seems to have disappeared - perhaps due to new version of builder or update.

In any case, thanks for looking into it.

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

Nav bar skew in the header with V2.0 libs

Hello Cody,

Thank you for update, glad it works!

Return to “Issues”