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

More styling work #533

Merged
merged 15 commits into from
Jul 9, 2018
Merged

Conversation

ZanderBrown
Copy link
Contributor

This has grown a bit

On macOS/Linux/Windows our scrollbars use a Qt fallback which looks interesting and is almost invisible in the contrast theme. Similarly masOS/Windows/Some Linux fallback to a grey on grey 9xish design.

So visually this PR styles the scrollbar & dialog buttons and adds some borders to text areas in the admin dialog

Some pictures!

mubuttons
Haven't included hover states here because reliably screenshotting them was an issue

muscroll

Whole admin dialog for comparison
screenshot from 2018-07-09 17-51-10
screenshot from 2018-07-09 17-51-21
screenshot from 2018-07-09 17-51-41

Codewise this sets the stylesheet globally instead of per window/widget. Don't have any metrics but in theory this should be more efficient as it avoids parsing the theme multiple times.

This reduces the need to pass the theme around all the time and ensures everything is themed (See unsaved work dialog)

Obviously a lot of this is up for discussion and #530 could help simplify many areas of theme handling

@ZanderBrown
Copy link
Contributor Author

ZanderBrown commented Jul 9, 2018

Also included: Mode selector preselects the current mode reducing the chances of accidental switches

@ntoll
Copy link
Member

ntoll commented Jul 9, 2018

Aha... so you've just missed beta.17, but should be able to make RC. :-)

@ZanderBrown
Copy link
Contributor Author

Hoped to get thing sent in by 4 but life got the better of me

@ntoll
Copy link
Member

ntoll commented Jul 9, 2018

The images look good too... I'll get to this tomorrow (currently writing a blog post about beta.17 release announcement).

@ntoll
Copy link
Member

ntoll commented Jul 9, 2018

Heh... I hoped to have beta 17 out last Wednesday... ;-)

@ntoll ntoll merged commit d91180b into mu-editor:master Jul 9, 2018
@ntoll
Copy link
Member

ntoll commented Jul 9, 2018

OK... took a quick look and merged it. Nice work! Thanks.

@ZanderBrown ZanderBrown deleted the base/more-styling-work branch July 9, 2018 20:05
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.

2 participants