I want to display some text on a panel in the largest possible size (non-clipping). I'm planning on using the wxWindow::GetTextExtent() function for this and a binary search.
I was wondering if anyone knows a better/easier way of doing this.
Determining the maximum font size for text display Topic is solved
Determining the maximum font size for text display
Soon to be world famous
-
- I live to help wx-kind
- Posts: 198
- Joined: Sat Oct 28, 2006 3:36 am
bump
I have the same question. Anyone have an idea?
wxFont::SetPixelSize
It is there in 2.8.x also, although not documented.
It is there in 2.8.x also, although not documented.