Features/Touch/Programming Tips: Difference between revisions
Created page with "While touch will just work for many activities, there are some times when some intervention is needed. The examples below will hopefully help Sugar activity developers as they..." |
|||
| Line 10: | Line 10: | ||
def _fixed_resize_cb(self, widget=None, rect=None): | def _fixed_resize_cb(self, widget=None, rect=None): | ||
""" If a toolbar opens or closes, we need to resize the vbox | |||
holding out scrolling window. | holding out scrolling window. """ | ||
self.vbox.set_size_request(rect.width, rect.height) | self.vbox.set_size_request(rect.width, rect.height) | ||