[OptionSelectorDelegate] Provide access to Labels

Bug #1220533 reported by Robert Schroll
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
New
Undecided
Unassigned

Bug Description

When you're using an OptionSelectorDelegate, it could be nice to have access to the Labels for the text and subtext, to adjust their font, color, etc. The attached path provides two new properties, textLabel and subTextLabel, that give access to these two Labels.

Revision history for this message
Robert Schroll (rschroll) wrote :
Revision history for this message
Tim Peeters (tpeeters) wrote :

The delegate is basically a list item, so I mark this bug as a duplicate to make tracking the issue easier.

Revision history for this message
Robert Schroll (rschroll) wrote :

Personally, #1348604 isn't enough -- I also need to adjust the font.family of the Labels. But it's completely reasonable that someone else may want to adjust the fontSize, elide, font.capitalization, style, textFormat, etc. Instead of playing whack-a-mole with all the individual properties one may want to adjust, wouldn't it be easier to expose the Labels themselves?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.