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

Make Flame.View's position configurable #17

Open
ctimmerm opened this issue Apr 23, 2012 · 2 comments
Open

Make Flame.View's position configurable #17

ctimmerm opened this issue Apr 23, 2012 · 2 comments
Milestone

Comments

@ctimmerm
Copy link
Member

Currently we can control the view's position by setting useAbsolutePosition.
Let's change it so that we can set the position itself and use the layout based on that.

@guilhermeaiolfi
Copy link
Contributor

Currently I'm using a modified version of LayoutSupport, where I changed a line in _renderElementAttributes from:

if (!this.get('useAbsolutePosition')) { return; }

to

if (!this.get('useAbsolutePosition')) { buffer.style('position', 'relative'); }

And everything started to work when using useAbsolutePosition=false.

@guilhermeaiolfi
Copy link
Contributor

Have anything changed in this regard? Using widgets relative to the page seems a pretty compelling feature.

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