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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Apr 19 14:15:21 UTC 2012


Revision: 4207
          http://rkward.svn.sourceforge.net/rkward/?rev=4207&view=rev
Author:   tfry
Date:     2012-04-19 14:15:21 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
Avoid layout bug with dynamic wizard pages (by inserting a dummy container widget).

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

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2012-04-18 11:14:31 UTC (rev 4206)
+++ trunk/rkward/ChangeLog	2012-04-19 14:15:21 UTC (rev 4207)
@@ -1,3 +1,4 @@
+- Fixed: Dynamic pages in a wizard would cause a layout bug on the first page
 - Do not offer to restore individual removed columns of a data.frame opened for editing
 - Fixed: Plot history and graphical menus broken in some cases with R 2.15.0		TODO: backport? (r4182)
 - Fixed: If the rkward package was loaded in a plain R session, q() and quit() still work

Modified: trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp	2012-04-18 11:14:31 UTC (rev 4206)
+++ trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp	2012-04-19 14:15:21 UTC (rev 4207)
@@ -501,8 +501,9 @@
 	RK_TRACE (PLUGIN);
 
 	PageDef *def = new PageDef;
-	def->page = new RKComponent (parent, this);
-	setCurrentIndex (addWidget (def->page));
+	KVBox *wrap = new KVBox (this);
+	def->page = new RKComponent (parent, wrap);
+	setCurrentIndex (addWidget (wrap));
 	pages.append (def);
 
 	return def->page;

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