Skip to content
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

[2.8] Multiline TextCtrl in dialog has no height. #20991

Closed
wxtrac opened this issue May 20, 2004 · 6 comments
Closed

[2.8] Multiline TextCtrl in dialog has no height. #20991

wxtrac opened this issue May 20, 2004 · 6 comments

Comments

@wxtrac
Copy link
Collaborator

@wxtrac wxtrac commented May 20, 2004

Issue migrated from trac ticket # 1626

component: wxGTK | priority: low | resolution: outdated

2004-05-20 18:01:53: siona created the issue


A TextCtrl with wx.TE_MULTILINE in a BoxSizer in a dialog (see
attached wxPython example) is given zero height by default. This
appears to be GTK specific -- it has a sensible default height with
MSW and GTK2. It also seems that this only happens if the TextCtrl
is in a sizer (I've tried both BoxSizer and GridSizer) in a dialog
window (the same thing happens if there is an intervening Panel).
With no sizer, or putting the sizer in a Frame, the TextCtrl gets a
reasonable default height.

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented May 20, 2004

2004-05-20 18:01:57: siona uploaded file MultilineBugs.py (0.6 KiB)

wxPython example of multiline TextCtrl in dialog

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented Jun 1, 2008

2008-06-01 23:29:47: @wojdyr changed status from new to closed

2008-06-01 23:29:47: @wojdyr changed resolution from ** to outdated

2008-06-01 23:29:47: @wojdyr commented

I tried the attached example and it works now (the default height is reasonable). Thanks for reporting.

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented Oct 9, 2012

2012-10-09 23:19:17: Alpha changed status from closed to reopened

2012-10-09 23:19:17: Alpha changed resolution from outdated to **

2012-10-09 23:19:17: Alpha commented

Using a wxTextEntryDialog with wxTE_MULTILINE set causes this bug to occur in Ubuntu 12.04 (C++).

wxWidgets 2.8.12

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented Oct 9, 2012

2012-10-09 23:22:34: @vadz changed title from Multiline TextCtrl in dialog has no height. to [2.8] Multiline TextCtrl in dialog has no height.

2012-10-09 23:22:34: @vadz commented

This is almost certainly 2.8-specific, I don't see it in 2.9.

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented Oct 9, 2012

2012-10-09 23:24:39: @vadz changed priority from normal to low

@wxtrac
Copy link
Collaborator Author

@wxtrac wxtrac commented Apr 19, 2019

2019-04-19 19:05:54: @oneeyeman1 changed status from reopened to closed

2019-04-19 19:05:54: @oneeyeman1 set resolution to outdated

2019-04-19 19:05:54: @oneeyeman1 commented

2.8 will not receive any updates and multiline text control works fine in the dialogs in both GTK+2 and GTK+3.

Please re-open if you can reproduce it with Git HEAD.

@wxtrac wxtrac closed this Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant