Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Label and RawLabel #1252

Merged
merged 1 commit into from
Sep 25, 2020
Merged

Separate Label and RawLabel #1252

merged 1 commit into from
Sep 25, 2020

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Sep 23, 2020

(based off of #1245)

This makes label work more like other widgets; the RawLabel
widget is a thing that has a text data type (currently ArcStr)
and displays this text.

The existing Label widget is rewritten as a wrapper around
RawLabel; it is basically a sort of specialized, env-aware
LensWrap.

This makes label work more like other widgets; the RawLabel
widget is a thing that has a text data type (currently ArcStr)
and displays this text.

The existing Label widget is rewritten as a wrapper around
RawLabel; it is basically a sort of specialized, env-aware
LensWrap.
Copy link
Collaborator

@luleyleo luleyleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit annoying that we have to duplicate the builder methods, but I suppose there is now good way around it.

@luleyleo luleyleo added the S-ready PR is ready to merge label Sep 25, 2020
@cmyr cmyr merged commit 199be57 into master Sep 25, 2020
@cmyr cmyr deleted the raw-label branch September 25, 2020 19:13
cmyr added a commit that referenced this pull request Sep 27, 2020
We were failing to set the text in the update case; this
was a consequence of #1252
cmyr added a commit that referenced this pull request Sep 27, 2020
We were failing to set the text in the update case; this
was a consequence of #1252
cmyr added a commit that referenced this pull request Sep 27, 2020
This was removed as part of #1252, but I actually use it
in runebender so would prefer to keep it around for the
time being.
cmyr added a commit that referenced this pull request Sep 27, 2020
We were failing to set the text in the update case; this
was a consequence of #1252
cmyr added a commit that referenced this pull request Sep 27, 2020
This was removed as part of #1252, but I actually use it
in runebender so would prefer to keep it around for the
time being.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-ready PR is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants