Skip to content

Commit

Permalink
- minor style updates.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9990 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Oct 3, 2011
1 parent bb4e532 commit debc14f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions OMEdit/OMEditGUI/Resources/css/stylesheet.qss
Expand Up @@ -59,3 +59,9 @@ QPushButton#ModelicaEditorSearchButtons {
QToolButton#InteractiveSimulationButtons {
padding: 3px;
}

QListWidget::item:hover {
border: 1px solid gray;
color: blue;
cursor: hand;
}
6 changes: 3 additions & 3 deletions OMEdit/OMEditGUI/mainwindow.cpp
Expand Up @@ -74,15 +74,15 @@ MainWindow::MainWindow(SplashScreen *splashScreen, QWidget *parent)
//Create a grid on the centralwidget
mpCentralgrid = new QGridLayout(mpCentralwidget);
// since the Tabs are displaed differently on MAC so they occupy more space
#ifdef Q_OS_UNIX
#ifdef Q_OS_MAC
mpCentralgrid->setContentsMargins(0, 7, 0, 0);
#else
mpCentralgrid->setContentsMargins(0, 1, 0, 0);
#endif
//Create a dock for the MessageWidget
messagedock = new QDockWidget(tr(" Messages"), this);
messagedock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::BottomDockWidgetArea);
#ifdef Q_OS_UNIX
#ifdef Q_OS_MAC
messagedock->setContentsMargins(0, 6, 1, 0);
#else
messagedock->setContentsMargins(0, 1, 1, 0);
Expand Down Expand Up @@ -115,7 +115,7 @@ MainWindow::MainWindow(SplashScreen *splashScreen, QWidget *parent)
addDockWidget(Qt::LeftDockWidgetArea, libdock);
//create a dock for the model browser
modelBrowserdock = new QDockWidget(tr("Model Browser"), this);
#ifdef Q_OS_UNIX
#ifdef Q_OS_MAC
modelBrowserdock->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
#else
modelBrowserdock->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
Expand Down

0 comments on commit debc14f

Please sign in to comment.