[wx-dev] Incorrect Appearance of wxStaticBox on wxGTK
Kit Bishop
kit at bishop.net.nz
Tue Jul 29 04:01:17 PDT 2008
Robert Roebling wrote:
>> correctly in both wxMSW and wxGTK - now they do not appear properly in =
>> wxGTK - the box is not showing - the label does show OK.
>> =
>
> Check the samples. Do they show the box? You didn't just use a
> theme that doesn't draw the frame?
>
> Robert
>
>
> =
Robert,
Thanks for your suggestion - I'm not 100% sure it's the whole story but =
it could be related.
Your suggestion made me stop and think a bit - I actually normally run =
under KDE3 desktop and the box is not showing there (it did when I had =
openSuse 10.3).
So I tried running under Gnome and under KDE4 - the box DOES show when =
running under Gnome but NOT under KDE4.
So the question comes down to: what theme does a GTK app use when run =
under GTK? Is it dependent upon any KDE settings? Possibly naively, I =
would have guessed that it would use whatever Gnome settings were =
avail;able, but then what if one doesn't have Gnome installed at all.
It looks like I'm going to have to rethink my dialog layouts etc. if I =
can't rely on static box displaying consistently since I have been using =
it to visually group components of my user interface in a logical manner.
Is there any generic implementation of static box that would always look =
the same? If so, how would I use it in place of the platform specific one?
Best regards,
Kit Bishop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20080729/ba3b7=
b5b/attachment.htm
More information about the wx-dev
mailing list