Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

responsive does NOT work #4

Open
kabinud opened this issue Dec 24, 2016 · 2 comments
Open

responsive does NOT work #4

kabinud opened this issue Dec 24, 2016 · 2 comments

Comments

@kabinud
Copy link

kabinud commented Dec 24, 2016

Tried this

myText = new Text
text: 'Hello'
fontSize: 64
color: black

Below Phone, myText
fontSize: 32
color: 'red'

dis not work

@etiennepinchon
Copy link
Owner

Hey!
I tested your code, you forgot a comma after myText:

Below Phone, myText,
fontSize: 32
color: 'red'

This should work fine ;)
Etienne

@kabinud
Copy link
Author

kabinud commented Dec 24, 2016

Still not responsive...try this

App.page = new Page
backgroundColor: 'Black'

helloTxt = new Text
text: 'Hello World!'
width: auto
fontSize: 164
fontWeight: 700
color: white
spacing: 4

Below Phone, helloTxt,
fontSize: 32
color: 'red'

helloTxt.center()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants