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

REF: fall back to QLabel if no channel is associated with PyDMLabel #55

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

klauer
Copy link
Contributor

@klauer klauer commented May 27, 2020

This doesn't have to be accepted here, but it's one possible solution for a downstream typhos issue that may be agreeable.

In downstream Typhos, we have specific stylesheets for PyDMLabel, making the auto-converted AreaDetector screens look particularly bad:

image

With this fix, the channel-less PyDMLabel is recast to a QLabel:

image

Separately - would you mind a PR that fixes trailing whitespace issues in the repository? My editor found and fixed hundreds automatically, making contributing a bit more difficult.

@prjemian
Copy link
Contributor

I like this.

Copy link
Contributor

@prjemian prjemian left a comment

Choose a reason for hiding this comment

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

extra credit that you understood the program flow

@klauer
Copy link
Contributor Author

klauer commented May 27, 2020

It's not bad to read through at all! 👍

@klauer
Copy link
Contributor Author

klauer commented Jun 23, 2020

Do you want anything else from my PRs in this repo @prjemian?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants