Skip to content
New issue

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

Unable to use font style 'mono' on UI Card #12

Closed
randomite opened this issue Dec 7, 2014 · 1 comment
Closed

Unable to use font style 'mono' on UI Card #12

randomite opened this issue Dec 7, 2014 · 1 comment

Comments

@randomite
Copy link

I would like to make my font style 'mono' on my UI Card but it seems to be stuck at 'small' which is the default style.

Here is the code used to make that card.

var card = new UI.Card();
card.body('i want this to be in mono font');
card.scrollable(true);
card.fullscreen(true);
card.style('mono');
card.show();

Here is a screen shot of the Pebble's screen:

image

In a previous app I used mono font and this is how it looked, but I had made it in simply.Js:
screen1

@Meiguro
Copy link

Meiguro commented Dec 8, 2014

Thanks for spotting the issue and posting a detailed report! I'll close this once I've verified the fix propagated to CloudPebble. In the meantime, if you are adventurous, you can try playing around with dynamic windows. You can use a UI.Text with the built in mono font 'mono-font-14'.

It's also great that you migrated from Simply.js! There's one gotcha, .on('singleClick', ...) is now .on('click', ...), though you might have figured that out already.

@Meiguro Meiguro closed this as completed Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants