Commit 862bdbde authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Workaround the bug of preference height on small screens

Close #3884
parent 621c2e97
......@@ -111,7 +111,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
tree_panel_l->setMargin( 1 );
main_panel_l->setContentsMargins( 6, 0, 0, 3 );
b_small = (p_intf->p_sys->i_screenHeight < 750);
b_small = (p_intf->p_sys->i_screenHeight < 850);
if( b_small ) msg_Dbg( p_intf, "Small");
setMaximumHeight( p_intf->p_sys->i_screenHeight );
for( int i = 0; i < SPrefsMax ; i++ ) simple_panels[i] = NULL;
......
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