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
Cannot align widgets horizontally in the notebook #5073
Comments
Can you retry with latest master (changes last night) and a cleared browser cache? Sent from my iPhone
|
Same problem (tried with Opera too). |
There are two problems here,
|
Thanks @jdfreder. There might also be other places we need to check how the new box model is working. Why don't you do a search for |
Will do- also I've written a notebook that tests the new flex model vs the old model. There were lots of misuses of the new model on my behalf that I have fixed. I will upload the notebook along with the PR that fixes the problems. |
Awesome, why don't you put the test notebook in |
OK so now it works on master. The only thing is that I need to do container.remove_class('vbox')
container.add_class('hbox') Doing just container.add_class('hbox') doesn't work. |
Fixed by #5075, but not closed. Closing here...
It's an unfortunate side effect of telling everyone to use CSS to configure alignment. There used to be helper properties that automatically managed this state. During the bi-annual development meeting at UCB it was decided to remove the helper properties. Sorry :( If you'd like, I can open a feature request issue to add these properties back. |
I think for now we should keep with the pure css approach and gather more On Wed, Feb 12, 2014 at 4:47 PM, Jonathan Frederic <notifications@github.com
Brian E. Granger |
It does seem that in implementing other frontends (like perhaps an android frontend using native widgets), it would be helpful to have the packing direction be an attribute of the widget rather than a side-effect of a class. |
I think it's fine as it is now. It's just a matter of documenting properly. |
The HBox container widget does not seem to align children horizontally. For example, here is a screenshot of part 5 of widget tutorial on my local machine.
Tested on latest IPython master: FF, Chrome, IE.
The text was updated successfully, but these errors were encountered: