New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596799 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Long OOO (go/where-is-mgiuca)
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

StyledLabel should allow views to be embedded inline inside the text

Project Member Reported by mgiuca@chromium.org, Mar 22 2016

Issue description

Kind of like a <span> in an HTML text paragraph can contain arbitrary DOM elements. It would be useful to embed views within a label's text.

Needed for  Issue 576531  (an image inside flowing multiline text). Would also be useful in, for example, the fullscreen banner where I have a bordered view inside a single line text (I currently use a BoxLayout, which works because its just one line of text, but it would be neater to use a StyledLabel with a nexted view).

It isn't that hard to do, actually, because of the way StyledLabel works internally.
 
Cc: sky@chromium.org
Status: WontFix (was: Started)
As discussed on https://codereview.chromium.org/1819303002/, not going ahead with this because it isn't really needed at the moment. But it would be cool.

Comment 2 Deleted

Sign in to add a comment