Fix city picker dialog in portrait mode
authorPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 28 May 2010 19:51:33 +0000 (21:51 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 28 May 2010 20:18:35 +0000 (22:18 +0200)
src/city-button.vala

index d1a2a63..79965db 100644 (file)
@@ -65,8 +65,8 @@ class CityButton : Hildon.Button {
                dialog.set_transient_for (find_parent_window ());
 
                var content_area = (Box) dialog.get_content_area ();
-               content_area.set_size_request (-1, 5*70);
                content_area.pack_start (city_selector, true, true, 0);
+               city_selector.set_size_request (-1, 5*70);
 
                var radius_selector = new TouchSelector.text ();
                for (int km = 0; km <= 50; km += 10)