Skip to content
  • Thorben Kroeger's avatar
    Theming: fix disabled menu items in dark theme · e91e1a74
    Thorben Kroeger authored
    
    
    In the dark theme (fusion style under linux), disabled
    menu items looked bad due to (1) SH_EtchDisabledText being enabled
    and (2) a bright color for the etch effect.
    
    This patch adds color values for normal and disabled text colors
    for menu items. It also adds a color value "style" which indicates
    that the color should just stay at the default of the style.
    The default theme uses this value for the new menu item colors,
    while the dark theme fixes the ugly colors.
    The patch also disables etching for disabled text.
    
    Task-number: QTCREATORBUG-13447
    Change-Id: Ib54504693d28cf2c71f3fc5a88d3de014230b12b
    Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
    Reviewed-by: default avatarThorben Kroeger <thorbenkroeger@gmail.com>
    Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
    e91e1a74