Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/Compatibility Tips
(view source)
Revision as of 17:38, 14 March 2011
306 bytes added
,
17:38, 14 March 2011
→Compatibility Tips
Line 120:
Line 120:
See python.org for more information on incompatibilities between versions.
See python.org for more information on incompatibilities between versions.
+
+
=== GNOME toolkit versions ===
+
+
In older versions of gtk, e.g., 2.16.0, the set_size_request method does not work properly for label.
+
label = gtk.Label(string)
+
label.set_line_wrap(True)
+
label.set_size_request(width, -1)
+
Works fine on 2.22.0
+
+
''I'll try to track down the relevant gtk patch.''
Walter
Bureaucrats
,
Administrators
10,579
edits