From: Pavel Reznicek <pavel.jindrich@ti...> - 2007-01-11 22:50:54
through various versions of boa-constructor and wxPython, I experienced
the same difference (only cosmetic but still eye-catching when one has
to see it so often) between the boa's splash screen that shows up on
Windows (wxMSW) and on Linux (wxGTK).
The only difference is that the contents of the
Utils.wxUrlClickHtmlWindow don't fit into it on wxGTK.
It may be caused by the given size (height) of the whole splash screen
(as defined in <boa>/About.py/AboutBoxSplash._init_ctrls:272, CVS
December 31th 2006).
It has the side effect that a vertical scrollbar appears on the right of
I worked it around by adjusting the size of the whole frame:
class AboutBoxSplash(AboutBoxMixin, wx.Frame):
progressBorder = 1
fileOpeningFactor = 10
def _init_ctrls(self, prnt):
if wx.Platform == '__WXGTK__': # the appropriate size
sz = wx.Size(418, 336) # is platform-dependent
sz = wx.Size(418, 320) # (the original size)
wx.Frame.__init__(self, size=sz, pos=(-1, -1),
id=wxID_ABOUTBOX, title='Boa Constructor', parent=prnt,
Maybe it's caused rather by the wxUrlClickHtmlWindow itself because
after this change in code the lower inner blue border appears thicker
than the upper. The control probably adds some extra space under some
HTML element. Maybe one can just disable the scrollbars (or all
scrolling) on the HTML control when inside the AboutBoxSplash class (for
wxGTK). It would cut off only the extra blue space and hide the useless
(and ugly) scrollbar.
Thank you in advance for such a great programming tool (!) and for
reading all such detailistic complaints. If you consider it worth your
attention and time, please look at this layout issue. The splash screen
makes up the first impression of boa-constructor, so it may be of some
importance for you.