Spa toolbar on Cordova

I am new to cordova development.
I am using Onsen UI (1.2.1) as the layout framework.
I have a title problem on ons-toolbar.


someTextHere

If I run my program on ripple, the toolbar text is rendered correctly (centered text), but in the android emulator, it does not (text alignment is changed to left).

It Only applicable to the text with the “center” class. The back button and the menu button are also placed in the toolbar part, which is perfectly rendered on the two simulator tools.

How can I solve it?

Thank you for your help

You only need to add fixed style attributes< p>


someTextHere

I am new to cordova development.
I am using Onsen UI (1.2.1) as the layout framework.
I have Title issue.


someTextHere

If I run my program on ripple, the toolbar text is rendered correctly (centered text), but in the android emulator, it does not (text alignment is changed to left).

It only applies to text with a “center” class. The back button and the menu button are also placed in the toolbar, which is perfectly rendered on the two simulator tools.

How can I solve it?

Thank you for your help

You only need to add fixed style attributes


someTextHere

Leave a Comment

Your email address will not be published.