Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Fallback to using screen width and height causing problems #34

Open
paour opened this issue Aug 7, 2013 · 1 comment
Open

Fallback to using screen width and height causing problems #34

paour opened this issue Aug 7, 2013 · 1 comment

Comments

@paour
Copy link

paour commented Aug 7, 2013

I haven't had time to fully investigate why DragDropGrid.acknowledgeHeightSize() was being called with a 0 height, but the fallback to using the screen dimensions is probably not the way to go: it will always generate a view that is too tall, and for multi-pane layouts it will be too wide as well.

@paour
Copy link
Author

paour commented Aug 7, 2013

Using this solution may resolve this issue: wait for the parent to be laid out, then get its size.

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

1 participant