Ticket #10475 (closed defect: invalid)
wxGTK: wxFont::SetFaceName() resets the font size
| Reported by: | golly | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | 2.8.9 |
| Keywords: | wxGTK XRC font face regression | Cc: | f18m_cpp217828@…, vslavik@… |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
This doesn't happen in wxGTK 2.6.3.2.
1. Compile XRC sample.
2. Start the sample and click on the "controls example" button (3rd from left at time of writing).
3. Select the "wx*PickerCtrl" tab (you will have to move right to find it).
4. Look at "Font Picker" at the bottom of the dialog - notice it is nice and large.
5. Exit demo.
6. Open rc/control.xrc in text editor.
7. Search for "sysfont". This should take you to the XRC for the font picker control.
8. Add <face>Arial</face> inside the <font> tags.
9. Start demo and follow steps 1-4 again. Font Picker control is not the same size as before.
Change History
Note: See
TracTickets for help on using
tickets.
