On Nov 22, 2010, at 4:39 AM, Fraser Burns wrote:

> dLabel - "Show Word Wrap"
> Attempting to move the slider causes a lock up.
> 
> fra...@ub810:~/src/dabo/demo$ python DaboDemo.py
> 
> (python:14486): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to 
> allocate widget with width -5 and height 17
> Killed
> 
> This error about a widget with a negative value has appeared other times 
> but I figured it was just my code attempts. In this demo it is repeatable.

        Can you try something? In your demo directory, edit samples/dLabel.py. 
Change line #82 to read:

sld = self.slider = dabo.ui.dSlider(self, Value=100, Continuous=False)

...and then re-try the word wrap demo. Let me know if you still get the app 
hanging, or if it behaves better now.



-- Ed Leafe



_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/ed56f407-5805-43fc-8e7d-f39aad1f0...@leafe.com

Reply via email to