#26 MS_WIN, correct start-up position of editor & inspector

open
nobody
Bug fix (17)
5
2006-06-03
2006-06-03
Anonymous
No

On Windows XP(maybe 9x/2000, too), if the taskbar is on
top of the screen, the position of the Editor &
Inspector won't go right when BC starts up. In fact,
they move up a bit, as if the taskbar were still at the
bottom.

I figure it out that it is Preferences.underPalette
which causes this problem. Having tried to add some
code at line 217 of Preferences.py, I solved the
problem regardless of whether the taskbar is on top or
bottom:

if wx.Platform == '__WXMSW__':
underPalette += _y

Definition of _y is at line 195:

_x, _y, screenWidth, screenHeight =
wx.GetClientDisplayRect()

Rocky
rockallite.wulf(AT)gmail.com

Discussion

  • Logged In: NO

    By the way, Boa Constructor version is 0.4.4.