diff --git a/Core/Core.cc b/Core/Core.cc index 14add99cd0c2e7d48e285c2cd5770f3869ba3760..386378998a17374fafe5204c94cfec42bb91edb5 100644 --- a/Core/Core.cc +++ b/Core/Core.cc @@ -207,21 +207,22 @@ Core::init() { connect(coreWidget_, SIGNAL(call(QString,bool&)), this, SLOT(slotCall(QString,bool&))); QRect rect = QApplication::desktop()->screenGeometry(); - std::cerr << "Width : " << rect.width() << std::endl;; - std::cerr << "Height: " << rect.height() << std::endl; uint width = rect.width(); if ( width > 1000 ) { width = 1000; - std::cerr << "Full width" << std::endl; } uint height = rect.height(); if ( height > 1000 ) { height = 1000; - std::cerr << "Full height" << std::endl; } +#ifdef ARCH_DARWIN + width = rect.width() - 300; + height = rect.height() - 150; +#endif + coreWidget_->resize(width,height); coreWidget_->setWindowTitle( OpenFlipper::Options::windowTitle() );