OptionSelector and ItemSelector are basically the same component
Bug #1248136 reported by
Tim Peeters
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Confirmed
|
Low
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
They do not only have the same API, but also duplicate a lot of implementation. A single component that handles both cases, or an additional (possibly internal) component that contains the shared code would be preferred.
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
There are more differences. Internally, the ItemSelector uses a ListItem.Standard in a few places where the OptionSelector uses StyledItem. This also needs to be evaluated.