-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Stacklayout does not layout properly. #1195
Comments
@RoyiNamir this is expected behavior. There are several approaches on how to achieve that.
Note that our container GridLayout has
In the example above the container element is not needed (used just to create the animate Button). |
@NickIliev NO words to thank you. |
@NickIliev This seems to work with root gridview.
|
@RoyiNamir I have investigated further and it seems that the default behavior for layouts with a larger width is to be clipped to fit the screen width (height). |
@NickIliev But if you look at your solution :
We're not setting So how does it fit with : "this is done when we are setting Rows auto height wasn't the issue. The issue was the width. And we're not setting it to auto here. So how come gridview's 600 width is counted while stacklayout's width 600 is not ? |
@RoyiNamir |
I have this simple layout markup :
As you can see , both are same width of 300:
Let's see this :
Notice that green is also 300 but we only see a part of it since
300+300 > screen size
.Ok so let's try to animate
#myStack
(!!) to the left , in order to see the left green :??
What is this white area on the right ? there should be also a green section there
Basically this is the situation :
So i'm expecting the green from the right to be scrolled to the left , i'm basically trying to move
#myStack
left.Bug ?
PLAYGROUND
The text was updated successfully, but these errors were encountered: