Skip to content

Commit

Permalink
Updated style to better show docker titles
Browse files Browse the repository at this point in the history
  • Loading branch information
alanspencer committed Oct 19, 2018
1 parent dda4019 commit 9418adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion resources/darkstyle/stylesheet_dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ QMainWindow::separator:hover,QSplitter::handle:hover{
}

QDockWidget::title{
padding:4px;
padding-left:4px;
padding-right:4px;
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
border:1px solid rgba(25,25,25,75);
border-bottom:2px solid rgba(25,25,25,75);
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
*/
int main(int argc, char **argv)
{
QApplication app(argc, argv);

//This has the app draw at HiDPI scaling on HiDPI displays, usually two pixels for every one logical pixel
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

Expand All @@ -45,6 +43,8 @@ int main(int argc, char **argv)
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif

QApplication app(argc, argv);

//Style program with our dark style
QApplication::setStyle(new DarkStyleTheme);

Expand Down

0 comments on commit 9418adc

Please sign in to comment.