Created
December 4, 2010 17:24
-
-
Save aikar/728339 to your computer and use it in GitHub Desktop.
Raphael.JS Question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
any chance 2.0 will have the ability to have a viewport '100%' of its parent (ie full screen window), and then an option to 'align' to a side, so align bottom left x 10 y 10 would put the element right in the corner, and then when the window is resized have it automatically move with it and stay in bottom left corner? | |
firefox seems to better support percentages for position but it blows IE up on 1.5.2 in the setBox function where it does math on the width/height for like circle. | |
I'm looking to create a game UI with Raphael and would really like an align feature and 100% viewports | |
for % maybe store it but the actual X/Y is calculated any time the viewport is resized or position is moved? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment