lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[4]: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp


From: Vadim Zeitlin
Subject: Re[4]: [lmi] Wrong wxFlexGridSizer usage in about_dialog.cpp
Date: Wed, 20 Jan 2010 22:25:49 +0100

On Wed, 20 Jan 2010 13:08:36 +0100 Vaclav Slavik <address@hidden> wrote:

VS> On Wed, 2010-01-20 at 11:31 +0100, Vadim Zeitlin wrote:
VS> > It would be better to fix this in wxHtmlWindow itself. I think (but
VS> > would appreciate any feedback from Vaclav about this) that its
VS> > CreateLayout() method might need to be modified to be smarter about
VS> > the scrollbars. 
VS> 
VS> I agree.
VS> 
VS> I'm not sure how to reliably (i.e. wxSystemSettings is not enough)
VS> determine scrollbar's size without actually creating or showing it -- is
VS> it even possible in wx?

 Why isn't wxSystemSettings enough? I think wxSYS_VSCROLL_ARROW_X should
return what we need here.

 If not, the only way I see is to compare GetClientSize() with and without
scrollbars for some dummy window (and cache the result).

 Regards,
VZ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]