[rkward-cvs] SF.net SVN: rkward:[2801] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Mar 22 13:45:35 UTC 2010


Revision: 2801
          http://rkward.svn.sourceforge.net/rkward/?rev=2801&view=rev
Author:   tfry
Date:     2010-03-22 13:45:35 +0000 (Mon, 22 Mar 2010)

Log Message:
-----------
Make better use of screen estate, esp. for varselectors and varslots

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/plugin/rktabpage.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2010-03-22 12:26:03 UTC (rev 2800)
+++ trunk/rkward/ChangeLog	2010-03-22 13:45:35 UTC (rev 2801)
@@ -1,3 +1,4 @@
+- Plugin dialogs are shown with a larger initial size
 - Add close buttons to each tab in the main document view area (not available in KDE 4.0)
 - Make "print", "export as HTML", "dynamic word wrap", and "increase/descress font size" available for the console window
 - Use a native menu, instead of the default TclTk-menu			TODO: test, discuss the settings page, again

Modified: trunk/rkward/rkward/plugin/rktabpage.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rktabpage.cpp	2010-03-22 12:26:03 UTC (rev 2800)
+++ trunk/rkward/rkward/plugin/rktabpage.cpp	2010-03-22 13:45:35 UTC (rev 2801)
@@ -2,7 +2,7 @@
                           rktabpage.cpp  -  description
                              -------------------
     begin                : Wed Apr 5 2006
-    copyright            : (C) 2006 by Thomas Friedrichsmeier
+    copyright            : (C) 2006, 2010 by Thomas Friedrichsmeier
     email                : tfry at users.sourceforge.net
  ***************************************************************************/
 
@@ -40,6 +40,8 @@
 	tabbook = parent_widget;
 	tabbook->addTab (this, label);
 	index = tabbook->indexOf (this);
+	// for whatever reason, this needs to be set *after* the page was added to the tabbook
+	page->setSizePolicy (QSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding));
 
 	inserted = true;
 	connect (visibility_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (visibleEnabledChanged (RKComponentPropertyBase *)));


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




More information about the rkward-tracker mailing list