ashbb / green_shoes

Green Shoes is one of the colorful Shoes written in pure Ruby.
Other
204 stars 37 forks source link

Styles not working #85

Open chand1012 opened 9 years ago

chand1012 commented 9 years ago

I have the latest version of Ruby and Green Shoes. The app launches and runs, but styles does nothing. I have had the app running in Red Shoes before, and styles worked fine.

code:

creation

alert startMessage
@user_msg = para "Enter User"
@msgbox = para "Enter Message"
@user = edit_line
@msg = edit_line 
@submit = button "Send" 
@help = button "Send to PC"
@info = button "PC info"
#styles
@msg.style right: 5, top: 57
@user.style right: 5, top: 25
@user_msg.style left: 10, top: 25
@msgbox.style left: 10, top: 57
@submit.style left: 10, bottom: 10
@help.style left: 150, bottom: 10
@info.style right: 15, bottom: 20
arjunmenon commented 6 years ago

right left top bottom are not supported properly. Use margin.