-
Notifications
You must be signed in to change notification settings - Fork 322
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
How to adjust FloatingHeight/Width to desiered size of Content? #140
Comments
I've dug through the templates and as I understand it is this margin and this Would it make sense to set the default |
I think this could be useful if we can find a way to bind these values, but keep the current defaults in case there is no binding (eg. binding with FallBackValue) avalaible. I would be very happy if you could create a Pull-Request for this change. Ideally, we should adjust this for all themes to make this behavior as consistent as possible. Thanx for looking into this. |
I'll see what I can do. Will most likely push something tomorrow |
See #146 for details of resolution. |
In some cases I know the minimum size the content of a
LayoutAnchorable
will need. In that case I have the following code when opening the window:This gives almost the correct behavior, depending on the size of the border and the title of the window the size gets a bit too small. Is there any easy way to find the size of the borders and title of the window, or would it be possible for
LayoutAnchorable
to respect theMinWidth
andMinHeight
of itsContent
?The easiest solution is of course to just add two constants to take this into account, but then someone change the theme of the application and the constants would be hard to track down.
The text was updated successfully, but these errors were encountered: