-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix EffectRackView appearance (GUI). #5766
Conversation
DigArtRoks
commented
Nov 4, 2020
- Elide the name of the effect when it tends to be too big. (Effect module names get cut off abrubtly if too long by modules edge #5752)
- Evenly space the controls (W/D, Decay Gate). (Abbreviate effect module decay knob label #5750)
- Show the scrollbar in the default theme to close the gap. (Effect module names get cut off abrubtly if too long by modules edge #5752)
- Reduce the gap between the effect and the scrollbar. (Effect Module rectangle edge does not extend to veritcal scroll bar #5757)
- Use always the same width for the EffectRackview (InstrumentTrack and SampleTrack) to avoid gaps or cutoffs of the background.
- Widen the background in the default theme.
- Widen the embossed space in the background in the classic theme to fit the controls.
* Elide the name of the effect when it tends to be too big. (LMMS#5752) * Evenly space the controls (W/D, Decay Gate). (LMMS#5750) * Show the scrollbar in the default theme to close the gap. (LMMS#5752) * Reduce the gap between the effect and the scrollbar. (LMMS#5757) * Use always the same width for the EffectRackview (InstrumentTrack and SampleTrack) to avoid gaps or cutoffs of the background. * Widen the background in the default theme. * Widen the embossed space in the background in the classic theme to fit the controls.
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Linux
Windows
macOS🤖{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://10196-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-754%2Bg86250d2-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10196?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://10198-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-754%2Bg86250d281-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10198?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://10195-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-754%2Bg86250d281-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10195?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/t4ofyola154yulgm/artifacts/build/lmms-1.3.0-alpha-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36142671"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/8enjwsatgee85pn7/artifacts/build/lmms-1.3.0-alpha-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/36142671"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://10197-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-754%2Bg86250d281-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/10197?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "e3c6b4fb765f47cd8eb0f8911d21e1684589bd36"} |
It seems perfect to me. Tested on W10/64 bits (both MSVC and Mingw) and with different display resolutions. Thanks. |
Thansk for trying it out. Yes the width of the EffectRackView is now the same for FxMixer, InstrumentTrack and SampleTrack. I initially thought the issue was flagged for the FxMixer alone. After fixing that one, I still saw similar issues in the InstrumentTrack and SampleTrack. Hence my comment in point 5 only referring to the latter 2. It turned out that for the 3 locations where the EffectRackView is used different widths (and heights) are used. So I fixed the width for all 3 to the same value. The widget does not really allow horizontal resizing due to the fixed background that is used for an EffectView. Either more space between the EffectView and the scrollbar appears or the background is cropped. The width remains as was for the FxMixer, gets 5 pixels wider for the SampleTrack (which still fits) and is reduced about 5 pixels in the InstrumentTrack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good.
I do wonder, however, whether the knobs are a little too far apart now. Also, it looks like a dark line has appeared at the bottom right of the classic theme effect background, although it's not very noticeable.
* Reduce the background for the default theme by 1 pixel. * Reduce the background for the classic theme by 2 pixels and remove the darker line at the bottom right. * Reduce the width of long names of the plugin also by 2 pixels. * Put the controls 2 pixels closer to each other.
Thanks for the reviews. I did an additional commit.
|
Yeah, much better now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM both code and design wise.
I was freaking out because I found a whole bunch of other little things to go with my posts, I created all these graphics, I rushed here to tell you guys.... and then I found this page where you not only found them all but applied them! :) |
We usually only close issues when the fix is merged, so leave it open :) |
Actually though, Dom gave the changes after his latest review a thumbs up reaction, so I suppose this has two up to date + passing reviews and no CI failures. Merging! |
* Fix EffectRackView appearance (GUI). * Elide the name of the effect when it tends to be too big. (LMMS#5752) * Evenly space the controls (W/D, Decay Gate). (LMMS#5750) * Show the scrollbar in the default theme to close the gap. (LMMS#5752) * Reduce the gap between the effect and the scrollbar. (LMMS#5757) * Use always the same width for the EffectRackview (InstrumentTrack and SampleTrack) to avoid gaps or cutoffs of the background. * Widen the background in the default theme. * Widen the embossed space in the background in the classic theme to fit the controls. * Changes for improving the EffectRackView after reviews. * Reduce the background for the default theme by 1 pixel. * Reduce the background for the classic theme by 2 pixels and remove the darker line at the bottom right. * Reduce the width of long names of the plugin also by 2 pixels. * Put the controls 2 pixels closer to each other.
* Fix EffectRackView appearance (GUI). * Elide the name of the effect when it tends to be too big. (LMMS#5752) * Evenly space the controls (W/D, Decay Gate). (LMMS#5750) * Show the scrollbar in the default theme to close the gap. (LMMS#5752) * Reduce the gap between the effect and the scrollbar. (LMMS#5757) * Use always the same width for the EffectRackview (InstrumentTrack and SampleTrack) to avoid gaps or cutoffs of the background. * Widen the background in the default theme. * Widen the embossed space in the background in the classic theme to fit the controls. * Changes for improving the EffectRackView after reviews. * Reduce the background for the default theme by 1 pixel. * Reduce the background for the classic theme by 2 pixels and remove the darker line at the bottom right. * Reduce the width of long names of the plugin also by 2 pixels. * Put the controls 2 pixels closer to each other.