Maximum width not respected #230
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm using css-layout to layout a gui with this hierarchy: main > container > button. The
main
node is 1280x720 pix. The container gets a max-width of 400. When I set the flex direction of the container tocolumn
, then the max-width is taken into account and the button becomes 400 wide. When I set the flex direction of the container torow
it seems like the max-width is ignored and the button becomes 1280 wide.This is a print of the properties when using
colum
:These are the properties when using
row
. Not that the child gets a width of 1280:Is this a bug or feature?
Can you please post a jsfiddle repro? We try to be consistent with the web so if this is working one way on the web and a different way in css-layout it is most likely a bug. Please use http://jsfiddle.net/y11txxv9/245/ as a base because it is set up with the same default values used in css-layout.
@emilsjolander I've created this: http://jsfiddle.net/roxlu/y11txxv9/246/
@roxlu thanks. I'll look into this