Replies: 5 comments 8 replies
-
Are you saying that you want the dialog to be smaller by default than it is in that screenshot (such that it is only as big as its contents)? If so, we could potentially do that. |
Beta Was this translation helpful? Give feedback.
-
You are right dialog is correct size actually TextField is bigger than then buttons width
|
Beta Was this translation helpful? Give feedback.
-
Here is the full code ->
|
Beta Was this translation helpful? Give feedback.
-
I ran your example code, and the issue is not the text field but rather the default minimum dialog size of 400dp that we are setting. Therefore, we will add an option that allows you to disable that default minimum size soon. |
Beta Was this translation helpful? Give feedback.
-
@heejit We added an option in #1306 to disable the minimum dialog size, so the dialog should be the correct size if you do this instead of d.NewDialog(ctx).SetUseMinSize(false).Run() Please let me know if that resolves the issue. |
Beta Was this translation helpful? Give feedback.
-
I have a dialog as follow I want core.Body to auto resize to fit it contents ->
Beta Was this translation helpful? Give feedback.
All reactions