Page MenuHomePhabricator

OO.ui.ComboBoxInputWidget: Use icon instead of indicator for the dropdown button
Open, Needs TriagePublic

Assigned To
None
Authored By
Prtksxna
Feb 28 2017, 6:40 AM
Referenced Files
F6663540: apex-down-icon.png
Mar 17 2017, 10:48 AM
F6663455: comboboxinputwidget-mw-indicator.png
Mar 17 2017, 10:48 AM
F6663479: comboboxinputwidget-apex-icon.png
Mar 17 2017, 10:48 AM
F6663535: apex-down-indicator.png
Mar 17 2017, 10:48 AM
F6663462: comboboxinputwidget-apex-indicator.png
Mar 17 2017, 10:48 AM
F6662932: down-triangle-icon.png
Mar 17 2017, 10:48 AM
F6662935: down-triangle-indicator.png
Mar 17 2017, 10:48 AM
F6663473: comboboxinputwidget-mw-icon.png
Mar 17 2017, 10:48 AM

Event Timeline

Change 340282 had a related patch set uploaded (by Prtksxna; owner: Prtksxna):
ComboBoxInputWidget: Use icon instead of indicator for dropdown button

https://gerrit.wikimedia.org/r/340282

In the mediawiki and apex the proportions of the down triangle as an indicator and as an icon are different.

IconIndicator
Mediawiki
down-triangle-icon.png (46×134 px, 8 KB)
down-triangle-indicator.png (36×99 px, 7 KB)
Apex
apex-down-icon.png (39×140 px, 8 KB)
apex-down-indicator.png (41×89 px, 7 KB)

In both themes, the icons are the same but the indicators differ. Is this intentional?


Currently the patch does this:

MediawikiApex
Without patch (indicator)
comboboxinputwidget-mw-indicator.png (68×660 px, 10 KB)
comboboxinputwidget-apex-indicator.png (75×678 px, 10 KB)
With patch (icon)
comboboxinputwidget-mw-icon.png (69×674 px, 10 KB)
comboboxinputwidget-apex-icon.png (68×672 px, 10 KB)

The increased width of the button in Mediawiki is unintentional.

Well, it was intentional for the MW indicator to be wider to fit in with the overall theme, but it wasn't a problem because you were only ever meant to use the indicator for this kind of control. I guess the Apex icon should be made narrower.

Volker_E edited projects, added OOUI (OOjs-UI-0.22.2); removed OOUI.
Volker_E moved this task from OOjs-UI-0.22.2 to Doing on the OOUI board.
Volker_E edited projects, added OOUI; removed OOUI (OOjs-UI-0.22.2).

Change 340282 abandoned by Prtksxna:
ComboBoxInputWidget: Use icon instead of indicator for dropdown button

https://gerrit.wikimedia.org/r/340282