wxTextEntryDialog resizes in unexpected ways (Issue #25739)

24 views
Skip to first unread message

Will Cosgrove

unread,
Aug 29, 2025, 6:13:01 PM8/29/25
to wx-...@googlegroups.com, Subscribed
willco007 created an issue (wxWidgets/wxWidgets#25739)

Bug description:

When using wxTextEntryDialog, you can resize the window down to 0, 0 which you shouldn't be able to do. Furthermore in single line mode you can resize it taller than the bottom buttons which causes an unexpected space at the bottom of the window. Lastly it would be nice to have a fully non-resizable style flag as well.

A clear and concise description of what the bug is.

Expected vs observed behaviour:

Expect minimum size to be the fitting size.
Expect maximum height to be to the bottom of the OK button + padding in single line mode.

Observed no min size constraint
Observed no height constraint in single line mode

To Reproduce:

Show text entry dialog and resize it:

wxTextEntryDialog dialog(this,
     "Join our email list.\nStay informed of the latest important news.\n\nEmail Address:",
     "Developer eList",
     "");

dialog.ShowModal()

Platform and version information

  • wxWidgets version you use: 3.3.1
  • wxWidgets port you use: wxMSW (reproduces in all)
  • OS and its version: Windows 11


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25739@github.com>

VZ

unread,
Aug 30, 2025, 6:33:53 PM8/30/25
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25739)

We should definitely set the min size, and this is simple to do.

As for max size, setting it is simple too but I'm not sure if it actually works, would need to check it.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25739/3239583640@github.com>

Blake-Madden

unread,
Sep 7, 2025, 7:08:29 PM9/7/25
to wx-...@googlegroups.com, Subscribed
Blake-Madden left a comment (wxWidgets/wxWidgets#25739)

@vadz I'll take a look at this this week if you want to assign it to me.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25739/3264134678@github.com>

VZ

unread,
Sep 7, 2025, 7:15:33 PM9/7/25
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25739)

Sure, TIA!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25739/3264139698@github.com>

VZ

unread,
3:28 PM (6 hours ago) 3:28 PM
to wx-...@googlegroups.com, Subscribed

Closed #25739 as completed via 7a5aeaa.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/25739/issue_event/22971901906@github.com>

Reply all
Reply to author
Forward
0 new messages