mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Fix widget size
This commit is contained in:
@@ -80,8 +80,9 @@ ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) {
|
|||||||
connect(pages_list, SIGNAL(currentRowChanged(int)),
|
connect(pages_list, SIGNAL(currentRowChanged(int)),
|
||||||
pages_widget, SLOT(setCurrentIndex(int)));
|
pages_widget, SLOT(setCurrentIndex(int)));
|
||||||
|
|
||||||
resize(mymachineinfo->i_max_screen_width(),
|
setMaximumSize(mymachineinfo->i_max_screen_width(),
|
||||||
mymachineinfo->i_max_screen_height());
|
mymachineinfo->i_max_screen_height());
|
||||||
|
resize(1400,1000);
|
||||||
|
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
if (parent) {
|
if (parent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user