AbsoluteLayout respect negative fixed dimensions #27862
Unanswered
bytesandwich
asked this question in
Ideas
Replies: 1 comment 1 reply
-
I'm pretty sure this will work with Absolute.LayoutFlags="PositionProportional"
AbsoluteLayout.LayoutBounds="0.5, 1.0, AutoSize, AutoSize" Because AbsoluteLayout has this annoying feature of "clamping" the component to the visible bounds so that "0.5" may be the center X, but, "1.0" is never the center Y. Due to clamping "1.0", in practice becomes the bottom Y so your item is effectively docked to the bottom of the screen. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Absolute layout could interpret negative fixed dimensions as
-x => (available - x)
and it would allow us to have elements "docked" to the bottom of the screen like so:Currently it's only possible to have a "docking" to the top of the screen.
One can work around this currently with margins, but it's just a neat feature to add.
This seems relatively do-able in AbsoluteLayoutmanager.ResolveDimension
Beta Was this translation helpful? Give feedback.
All reactions