[vlc-devel] [PATCH] qt/pref: fix toolbar icon or text beeing cropped on Hi-DPI displays
    Francois Cartegnie 
    fcvlcdev at free.fr
       
    Wed Sep 13 11:51:07 CEST 2017
    
    
  
Le 13/09/2017 à 11:45, Pierre Lamot a écrit :
>      button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );              \
> -    button->setIconSize( QSize( icon_height + 40 , icon_height ) );         \
> +    button->setIconSize( QSize( icon_height, icon_height ) );               \
> +    button->setMinimumSize( QSize( icon_height + 40, icon_height + 40 ) );  \
Can't be correct due to the way HiDPI sizes now works.
I don't think the fix belongs to there.
-- 
Francois Cartegnie
VideoLAN - VLC Developer
    
    
More information about the vlc-devel
mailing list