diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 07b359da..9a50b611 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1752,7 +1752,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
1752 | delete_Array(items); | 1752 | delete_Array(items); |
1753 | /* Enforce a minimum size. */ | 1753 | /* Enforce a minimum size. */ |
1754 | iWidget *sizer = new_Widget(); | 1754 | iWidget *sizer = new_Widget(); |
1755 | setSize_Widget(sizer, init_I2(gap_UI * 65, 1)); | 1755 | setFixedSize_Widget(sizer, init_I2(gap_UI * 65, 1)); |
1756 | addChildFlags_Widget(dlg, iClob(sizer), frameless_WidgetFlag); | 1756 | addChildFlags_Widget(dlg, iClob(sizer), frameless_WidgetFlag); |
1757 | setFlags_Widget(dlg, centerHorizontal_WidgetFlag, iFalse); | 1757 | setFlags_Widget(dlg, centerHorizontal_WidgetFlag, iFalse); |
1758 | if (deviceType_App() != phone_AppDeviceType) { | 1758 | if (deviceType_App() != phone_AppDeviceType) { |