Commit 72a691d8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, Mac: reduce the size margins and change the color of the Splitter

parent 3c5ad8a6
...@@ -45,7 +45,11 @@ ...@@ -45,7 +45,11 @@
PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par ) PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
: QSplitter( _par ), p_intf ( _p_i ) : QSplitter( _par ), p_intf ( _p_i )
{ {
#ifndef Q_WS_MAC
setContentsMargins( 3, 3, 3, 3 ); setContentsMargins( 3, 3, 3, 3 );
#else
setContentsMargins( 0, 3, 0, 3 );
#endif
/******************* /*******************
* Left * * Left *
...@@ -434,7 +438,7 @@ QSize SplitterHandle::sizeHint() const ...@@ -434,7 +438,7 @@ QSize SplitterHandle::sizeHint() const
void SplitterHandle::paintEvent(QPaintEvent *event) void SplitterHandle::paintEvent(QPaintEvent *event)
{ {
QPainter painter(this); QPainter painter( this );
painter.fillRect(event->rect(), QBrush(Qt::gray)); painter.fillRect( event->rect(), QColor(81, 81, 81) );
} }
#endif /* __APPLE__ */ #endif /* __APPLE__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment