Commit 1a8bfb0d authored by Sandeep Kumar's avatar Sandeep Kumar Committed by Jean-Baptiste Kempf

Qt: Make fullscreen bar thinner in one line interface profile.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8090cafa
...@@ -740,7 +740,6 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi ...@@ -740,7 +740,6 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
setWindowFlags( Qt::ToolTip ); setWindowFlags( Qt::ToolTip );
setMinimumWidth( FSC_WIDTH ); setMinimumWidth( FSC_WIDTH );
setMinimumHeight( FSC_HEIGHT );
isWideFSC = false; isWideFSC = false;
setFrameShape( QFrame::StyledPanel ); setFrameShape( QFrame::StyledPanel );
...@@ -908,7 +907,7 @@ void FullscreenControllerWidget::updateFullwidthGeometry( int number ) ...@@ -908,7 +907,7 @@ void FullscreenControllerWidget::updateFullwidthGeometry( int number )
{ {
QRect screenGeometry = QApplication::desktop()->screenGeometry( number ); QRect screenGeometry = QApplication::desktop()->screenGeometry( number );
setMinimumWidth( screenGeometry.width() ); setMinimumWidth( screenGeometry.width() );
setGeometry( screenGeometry.x(), screenGeometry.y() + screenGeometry.height() - FSC_HEIGHT, screenGeometry.width(), FSC_HEIGHT ); setGeometry( screenGeometry.x(), screenGeometry.y() + screenGeometry.height() - height(), screenGeometry.width(), height() );
adjustSize(); adjustSize();
} }
......
...@@ -249,8 +249,6 @@ signals: ...@@ -249,8 +249,6 @@ signals:
/* Used to restore the minimum width after a full-width switch */ /* Used to restore the minimum width after a full-width switch */
#define FSC_WIDTH 800 #define FSC_WIDTH 800
#define FSC_HEIGHT 72
/*********************************** /***********************************
* Fullscreen controller * Fullscreen controller
***********************************/ ***********************************/
......
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