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
Get Mpd2 widget fixed width #4101
Comments
Sorry, I'm not entirely sure what behaviour you're after. Setting |
If you disable scrolling, do you get the fixed size? |
Yes, but can we get the fixed size when enabling scrolling? |
When scrolling is enabled, the We did originally think about having a separate The simplest fix would be to always have a fixed with when using scrolling but that would change behaviour for existing users. If we don't do that then I think we need to add a new parameter (something like @m-col you and I discussed this before so curious if you have a preference here (or a simpler fix that I may have missed). |
I think you got it all, both setups seem like they would be desirable so +1 for a simple bool like |
OK. Will add this later. |
Currently, when widgets have `scroll=True` set, the `width` parameter acts as maximum width. Where the width of the text is less than this value, the widget will shrink accordingly. This may be undesirable for users wishing to have a fixed width at all times. This PR adds a new parameter, `scroll_fixed_width`, which, when set to `True`, forces the text widget to have a fixed width at all times. Fixes qtile#4101
Currently, when widgets have `scroll=True` set, the `width` parameter acts as maximum width. Where the width of the text is less than this value, the widget will shrink accordingly. This may be undesirable for users wishing to have a fixed width at all times. This PR adds a new parameter, `scroll_fixed_width`, which, when set to `True`, forces the text widget to have a fixed width at all times. Fixes qtile#4101
much appreciated! |
Currently, when widgets have `scroll=True` set, the `width` parameter acts as maximum width. Where the width of the text is less than this value, the widget will shrink accordingly. This may be undesirable for users wishing to have a fixed width at all times. This PR adds a new parameter, `scroll_fixed_width`, which, when set to `True`, forces the text widget to have a fixed width at all times. Fixes #4101
The issue:
Mpd2 widget has only the width attribute to control the maximize widget width, it won't always get the same width when the different lengths of song/artist names are.
Required:
The text was updated successfully, but these errors were encountered: