AndExpand obsolete options #28494
Unanswered
williambuchanan2
asked this question in
General
Replies: 2 comments 1 reply
-
What worked for me was to always have the Grid as the first element in the view. Then you can put your VerticalStackLayouts inside and keep some of your current layout. But I use a lot more Grids now than I did before, also nested Grids. Grids are reliable for layout, stacklayouts are not (my experience). |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've been trying to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that AndExpand is now being marked as obsolete. I had hoped this meant I could just remove the word 'AndExpand' and everything would just work but that isn't the case. As soon as I remove it I have major layout issues.
My question is what are the options? How do I get things to fill the remaining space if this option is no longer available?
I noticed in a post some advice that I need to replace my StackLayouts with Grid to get around this problem. I have made extensive use of StackLayouts as well as AndExpand so I am reluctant to do that (especially knowing that a week later the advice may completely change without warning). Also, in some cases I had tried to use Grid but ran into other problems, which is how I ended up with StackLayouts. I also tried to use HorizontalStackLayout and VerticalStackLayout but they aren't options because they don't take up the remaining space.
Does anyone have reliable advice on what we are supposed to do to prepare for when this rug gets pulled from under our feet?
Beta Was this translation helpful? Give feedback.
All reactions