[PATCH] adjust window rectangle

Michal Mecinski mimec at polsl.gliwice.pl
Thu May 5 20:39:44 CEST 2005


The minimum size of dialog windows is too small. The reason is that
the window's border and title bar is not taken into account when 
determining the minimum (and maximum) size of windows.

This patch fixes this bug by making the following changes:

* Change the WM_GETMINMAXINFO message handler in qapplication_win.cpp
   to call AdjustWindowRect()
* Change QWidget::create() in qwidget_win.cpp to pass all style flags
   to AdjustWindowRect()

-- 
Regards,
  Michal

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: adjustwindowrect.patch
Url: http://mail.kde.org/pipermail/kde-cygwin/attachments/20050505/fde242f2/adjustwindowrect.ksh


More information about the kde-cygwin mailing list