summaryrefslogtreecommitdiff
path: root/src/ui/lookupwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/lookupwidget.c')
-rw-r--r--src/ui/lookupwidget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/lookupwidget.c b/src/ui/lookupwidget.c
index c711d61f..f3fd54d2 100644
--- a/src/ui/lookupwidget.c
+++ b/src/ui/lookupwidget.c
@@ -657,8 +657,8 @@ static iBool processEvent_LookupWidget_(iLookupWidget *d, const SDL_Event *ev) {
657 const iWindow *window = get_Window(); 657 const iWindow *window = get_Window();
658 const iInt2 rootSize = rootSize_Window(window); 658 const iInt2 rootSize = rootSize_Window(window);
659 const iRect navBarBounds = bounds_Widget(findWidget_App("navbar")); 659 const iRect navBarBounds = bounds_Widget(findWidget_App("navbar"));
660 setSize_Widget(w, init_I2(width_Widget(findWidget_App("url")), 660 setFixedSize_Widget(w, init_I2(width_Widget(findWidget_App("url")),
661 (rootSize.y - bottom_Rect(navBarBounds)) / 2)); 661 (rootSize.y - bottom_Rect(navBarBounds)) / 2));
662 setPos_Widget(w, bottomLeft_Rect(bounds_Widget(findWidget_App("url")))); 662 setPos_Widget(w, bottomLeft_Rect(bounds_Widget(findWidget_App("url"))));
663#if defined (iPlatformAppleMobile) 663#if defined (iPlatformAppleMobile)
664 /* Adjust height based on keyboard size. */ { 664 /* Adjust height based on keyboard size. */ {