I don't see a way to force a max height (only size, which we don't want since the width should always be resizable). However, for a single-line dialog I fixed it so that the button row remains at the bottom of the dialog when resized. That seems much nicer looking then before.
#25739
https://github.com/wxWidgets/wxWidgets/pull/25784
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@Blake-Madden pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
@vadz commented on this pull request.
Thanks, but I hoped using wxTLW::SetMaxSize(wxSize(-1, whatever))
would work, have you tried it and confirmed that it didn't? It would be probably better to make it work, it should be possible, I think...
> @@ -81,7 +81,8 @@ bool wxTextEntryDialog::Create(wxWindow *parent, return false; } - SetMinSize( sz ); + if (sz.IsFullySpecified())
Sorry, why do we need this?
> topsizer->Add(buttonSizer, wxSizerFlags().Expand().DoubleBorder()); } SetSizer( topsizer ); - topsizer->Fit( this ); + if (sz.IsFullySpecified())
This also seems suspicious, why should we do this for this particular dialog and not any other ones?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.