dabo Commit
Revision 6502
Date: 2011-03-19 11:03:06 -0700 (Sat, 19 Mar 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6502

Changed:
U   trunk/demo/samples/dLabel.py

Log:
Fix for the problem of the dLabel demo freezing

Diff:
Modified: trunk/demo/samples/dLabel.py
===================================================================
--- trunk/demo/samples/dLabel.py        2011-03-19 14:16:26 UTC (rev 6501)
+++ trunk/demo/samples/dLabel.py        2011-03-19 18:03:06 UTC (rev 6502)
@@ -54,7 +54,7 @@
                lbl.DynamicFontSize = lambda: self.Width * .05
                lbl.DynamicCaption = self.getDynamicCaption
                sz.append(lbl)
-               dabo.ui.callAfter(self.update)
+               dabo.ui.callAfterInterval(200, self.update)
 
                sz.appendSpacer(20)
                sz.append(dabo.ui.dLine(self, Width=500), halign="Center")



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to