logButton.set_active(widget.logging)
logButton.connect("toggled", logButton_changed)
- dialog.vbox.add(button)
- dialog.vbox.add(modePicker)
- dialog.vbox.add(heightPicker)
- dialog.vbox.add(unitPicker)
- dialog.vbox.add(UIPicker)
- dialog.vbox.add(logButton)
-
+ pan_area = hildon.PannableArea()
+ vbox = gtk.VBox()
+ vbox.add(button)
+ vbox.add(modePicker)
+ vbox.add(heightPicker)
+ vbox.add(unitPicker)
+ vbox.add(UIPicker)
+ vbox.add(logButton)
+
+ pan_area.add_with_viewport(vbox)
+ pan_area.set_size_request(-1, 600)
+ dialog.vbox.add(pan_area)
dialog.show_all()
response = dialog.run()
#hildon.hildon_banner_show_information(self, "None", "You have to Stop/Start the counter to apply the new settings")