ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Android and Windows Platform Nav/Toolbar Title Alignment V2

Open Mobius77x opened this issue 10 years ago • 2 comments

V2

For Android and Windows platforms the Title of modals and pages is either too far left or right aligned (I am expecting/wanting it to be centered)

image

image

Fixing is not as simple as using text-align:center because the ion-title div only begins or ends after the icons. In any case it doesn't appear centered even without icons.

Also, the title in Windows platform is capitalised:

image

Is this standard for Windows phone? I always thought capitalising words was the text equivalent of shouting...

The capitalisation can be easily turned off by not using

text-transform:uppercase

if it's not the standard and/or the developer wants to avoid the capitalisation.

Mobius77x avatar May 18 '16 01:05 Mobius77x

Hey! Thanks for opening an issue with us! So the reason the title is to the left on windows 10 and Android is because that is how it is on native android and windows 10 platforms. Also, for windows 10 it is standard to have capitalization for the title of a page, which is why we have it like that. I am going to mark this one as blocked by https://github.com/driftyco/ionic/issues/5036 as theres not much we can do about this issue yet until that issue is fixed. Thanks for using Ionic!

jgw96 avatar May 20 '16 22:05 jgw96

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 02 '18 23:09 ionitron-bot[bot]