Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxWidgets-2.8.x and dialog size problems
Biplab:
Hi All,
Since C::B has been switched to wx 2.8.4, several dialog sizes have increased in size. E.g., Find in files progress dialog, Editor Settings dialog, etc. Editor settings dialog has increased in size so much that in 800x600 resolution, it's virtually impossible to click it's OK, Cancel buttons.
Another problem is that the dialogs are now shown in wrong places. Such as File properties dialog; if it's called from Project Manager, the dialog is placed at wrong position. Same is true for Editor Settings dialog, too. This problem may be solved by using Multi-monitor support of C::B. But for the first problem the solution is still unavailable.
Why is it behaving so?? :o
Regards,
Biplab
wxLearner:
Looking at changes.txt after wxWidgets-2.8.0, it could have been introduced with wxWidgets-2.8.2:
--- Quote from: changes-2.8.2.txt ---All (GUI):
...
- The old wxADJUST_MINSIZE behaviour is now the default behaviour for
sizer items that are windows. This means that GetAdjustedBestSize
will now be called by default to determine the minimum size that a
window in a sizer should have. If you want to still use the initial
size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When
windows are added to a sizer their initial size is made the window's
min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
are also forwarded to SetSizeHints for window items.
--- End quote ---
EDIT: Sorry, that were changes made in wx-2.5.2 :oops:
Biplab:
Thanks for your reply. But that change was introduced in wx 2.5.2. :)
killerbot:
even with wx263 and 800*600 several dialogs don't show entirely on screen and ok button can't be reached. Have a linux box, where suse refuses do detect the graphics chip and I am stuck with that crappy resolution
David Perfors:
The fact is that the size is increased since wx2.8.x On my Laptop (1024x800) I could always see the full settings dialog. Now I have to move it to get it fully viewed. the strange thing is that the space isn't used (except for the button bar at the side).
Navigation
[0] Message Index
[#] Next page
Go to full version