Author Topic: MacOSX: Size of BuildOptions dialog should be changed  (Read 3131 times)

bnilsson

  • Guest
MacOSX: Size of BuildOptions dialog should be changed
« on: October 29, 2006, 04:59:51 pm »
The BuildOptions dialog initial window size is too small on MacOSX.
It would be nice if this could be changed, see images.
I can do it if someone could direct me on where to go.


[attachment deleted by admin]

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: MacOSX: Size of BuildOptions dialog should be changed
« Reply #1 on: October 29, 2006, 05:03:00 pm »
That is quite odd.  One of two things is happening: the Code::Blocks devs did not set a minimum size and they let wxWidgets figure it out in which case its a wxWidgets bug, or they just didn't set the size as large as needed.

The size is set in one of two places, the XRC file that contains the layout for the window (which would make it hard to change on just the mac) or the in the source file that creates the window.  You probably need to have a look in buildoptionsdlg.cpp or something close to that.

Offline Auria

  • Almost regular
  • **
  • Posts: 152
Re: MacOSX: Size of BuildOptions dialog should be changed
« Reply #2 on: October 29, 2006, 07:29:39 pm »
this is a wxWidgets bug

on mac os X, tabbed panes (wxNoteBook) don't handle cases where tabs take more place than avaible space.

though making the window bigger would work fine until it's fixed

bnilsson

  • Guest
Re: MacOSX: Size of BuildOptions dialog should be changed
« Reply #3 on: October 29, 2006, 07:52:59 pm »
As this particular dialog layout will not change with conditions, I guess it should be possible to make it larger under a #ifdef __WXMAC__ if it is set by code.
Just tell us where.