[ wxwindows-Patches-1518434 ] wxWindow::ScaleMin/MaxSize

SourceForge.net noreply at sourceforge.net
Thu Jul 6 16:31:09 PDT 2006


Patches item #1518434, was opened at 2006-07-06 23:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1518434&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Common
Group: new feature
Status: Open
Resolution: None
Priority: 5
Submitted By: Francesco Montorsi (frm)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxWindow::ScaleMin/MaxSize

Initial Comment:
This patch adds two new useful functions which make it
possible to replace lines like:

SetMinSize(wxSize(GetMinSize().GetWidth()*3,
                  GetMinSize().GetHeight()*2));

(required some times when the minsize calculated by
sizers is too small and you want to make it bigger),
with lines like:

ScaleMinSize(3, 2);



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1518434&group_id=9863




More information about the wx-dev mailing list