зеркало из https://github.com/mozilla/pjs.git
Bug 455836 - Native theme for menulist widget (ff toolbar). r=vladimir.
This commit is contained in:
Родитель
895dfbc7cb
Коммит
75b3a9e410
|
@ -234,11 +234,17 @@ nsNativeThemeQt::DrawWidgetBackground(nsIRenderingContext* aContext,
|
|||
style->drawComplexControl(QStyle::CC_ComboBox, &comboOpt, qPainter);
|
||||
break;
|
||||
}
|
||||
case NS_THEME_DROPDOWN_BUTTON:
|
||||
case NS_THEME_DROPDOWN_BUTTON: {
|
||||
QStyleOptionComboBox option;
|
||||
|
||||
InitComboStyle(aWidgetType, aFrame, r, option);
|
||||
|
||||
style->drawPrimitive(QStyle::PE_FrameDefaultButton, &option, qPainter);
|
||||
style->drawPrimitive(QStyle::PE_IndicatorSpinDown, &option, qPainter);
|
||||
break;
|
||||
}
|
||||
case NS_THEME_DROPDOWN_TEXT:
|
||||
case NS_THEME_DROPDOWN_TEXTFIELD:
|
||||
break;
|
||||
case NS_THEME_TEXTFIELD:
|
||||
case NS_THEME_TEXTFIELD_MULTILINE:
|
||||
case NS_THEME_LISTBOX: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче