Ticket #14812 (closed enhancement: fixed)
New GetSizeFromTextSize()
| Reported by: | mmarsan | Owned by: | vadz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GUI-all | Version: | 2.9-svn |
| Keywords: | GetSizeFromTextSize GetBestSize | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
This is the first part of a sequence of patches I'll submit.
The "part_1" implements main public GetSizeFromTextSize() at wxControl and its needed DoGetSizeFromTextSize() for wxTextCtrl, wxChoice, and wxComboBox wxGTK Gtk+{2,3} versions.
I've modified 'combo', 'controls', and 'text' samples in order to see this new feature. I've changed sizers flags so they don't hide real sizes.
Next planned parts:
wxMSW version of part_1
wxComboCtrl, wxSearchCtrl, wxSpinCtrl implementations
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

