@@ -180,28 +180,28 @@ void QgsGeorefPluginGui::on_mArrangeWindowsButton_clicked()
180
180
181
181
int newPluginDialogHeight = qMax (int (myScreenHeight * 0.2 ), minimumHeight ());
182
182
int newPluginDialogWidth = qMax (int (myScreenWidth * 0.33 ), minimumWidth ());
183
- int newPointDialogHeight = qMax (int (myScreenHeight * 0.70 ), mPointDialog ->minimumHeight ());
183
+ int newPointDialogHeight = qMax (int (myScreenHeight * 0.60 ), mPointDialog ->minimumHeight ());
184
184
int newPointDialogWidth = qMax (int (myScreenWidth * 0.33 ), mPointDialog ->minimumWidth ());
185
- int newMainWindowHeight = qMax (int (myScreenHeight * 0.95 ), mainWindow->minimumHeight ());
185
+ int newMainWindowHeight = qMax (int (myScreenHeight * 0.90 ), mainWindow->minimumHeight ());
186
186
int newMainWindowWidth = qMax (int (myScreenWidth * 0.65 ), mainWindow->minimumHeight ());
187
187
188
188
// place main window
189
189
mainWindow->setEnabled (false ); // avoid getting two resize events for the main canvas
190
190
mainWindow->resize (newMainWindowWidth, newMainWindowHeight);
191
191
// Resize again to account for frame border width -- Probably a better way to do this.
192
192
mainWindow->resize (newMainWindowWidth - (mainWindow->width () - newMainWindowWidth), newMainWindowHeight - (mainWindow->height () - newMainWindowHeight));
193
- mainWindow->move (myScreenWidth - newMainWindowWidth, 0 );
193
+ mainWindow->move (myScreenWidth - newMainWindowWidth, int (myScreenHeight * 0.05 ) );
194
194
mainWindow->setEnabled (true );
195
195
196
196
// place this dialog
197
197
resize (newPluginDialogWidth, newPluginDialogHeight);
198
198
resize (newPluginDialogWidth - (width () - newPluginDialogWidth), newPluginDialogHeight - (height () - newPluginDialogHeight));
199
- move (0 , 0 );
199
+ move (0 , int (myScreenHeight * 0.05 ) );
200
200
201
201
// place point dialog
202
202
mPointDialog ->resize (newPointDialogWidth, newPointDialogHeight);
203
203
mPointDialog ->resize (newPointDialogWidth - (mPointDialog ->width () - newPointDialogWidth), newPointDialogHeight - (mPointDialog ->height () - newPointDialogHeight));
204
- mPointDialog ->move (0 , int (myScreenHeight * 0.3 ));
204
+ mPointDialog ->move (0 , int (myScreenHeight * 0.35 ));
205
205
206
206
207
207
}
0 commit comments