[Scummvm-cvs-logs] SF.net SVN: scummvm:[48890] tools/trunk/gui/pages.cpp

criezy at users.sourceforge.net criezy at users.sourceforge.net
Sun May 2 14:25:12 CEST 2010


Revision: 48890
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48890&view=rev
Author:   criezy
Date:     2010-05-02 12:25:12 +0000 (Sun, 02 May 2010)

Log Message:
-----------
Slightly improve the tools description in the GUI by wrapping the text if needed by default.

Modified Paths:
--------------
    tools/trunk/gui/pages.cpp

Modified: tools/trunk/gui/pages.cpp
===================================================================
--- tools/trunk/gui/pages.cpp	2010-05-02 10:21:02 UTC (rev 48889)
+++ tools/trunk/gui/pages.cpp	2010-05-02 12:25:12 UTC (rev 48890)
@@ -264,8 +264,8 @@
 
 	sizer->AddSpacer(20);
 
-	wxStaticText *text = new wxStaticText(panel, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, 0, wxT("ToolText"));
-	sizer->Add(text);
+	wxStaticText *text = new wxStaticText(panel, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxST_NO_AUTORESIZE, wxT("ToolText"));
+	sizer->Add(text, wxFIXED_MINSIZE);
 
 	SetAlignedSizer(panel, sizer);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list