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

SideBarButton set text below the icon #3256

Merged
merged 5 commits into from
Feb 6, 2017
Merged

Conversation

BaraMGB
Copy link
Contributor

@BaraMGB BaraMGB commented Jan 13, 2017

this would fix #3234 (comment)
2017-01-13-104015_1920x1080_scrot

@mikobuntu
Copy link
Contributor

👍 great job :)

@tresf
Copy link
Member

tresf commented Jan 13, 2017

Unrelated to this PR, but the side-tabs needs more contrast from each other. The description is indistinguishable from the two icons. @RebeccaDeField

@mikobuntu
Copy link
Contributor

@tresf something like this design in my mockup could work?
sidebar

@tresf
Copy link
Member

tresf commented Jan 13, 2017

@tresf something like this design in my mockup could work?

👍

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Jan 13, 2017

something like this design in my mockup could work?

I guess this one can easily made in the styles.css

@mikobuntu
Copy link
Contributor

@BaraMGB Yes i was thinking the same. I could probably dig out my css book and have a look to see how to do this, well along with qtcreator :) , tho I hope the experts step in and do this i.e @RebeccaDeField et all :)

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Jan 13, 2017

in the styles.css line 497 changed to:
background: #2f353b;
looks like:
2017-01-13-201705_1280x800_scrot

Should I add this to this PR?

@mikobuntu
Copy link
Contributor

@BaraMGB did adding the background conflict with the original PR, as i see the icon is now below the text in your last image?

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Jan 13, 2017

I changed the styles.css in master for be quick. ;)

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Jan 13, 2017

2017-01-13-214328_1280x800_scrot

looks not bad.

@tresf
Copy link
Member

tresf commented Jan 13, 2017

Better but still requires more contrast. The Instrument Buttons are about as close as we should allow (despite the similarities in color, they have additional bevel and shading which makes them standout from the background).

image

@RebeccaDeField
Copy link
Contributor

RebeccaDeField commented Jan 13, 2017

This is looking good, people :) I do agree with @tresf that if we are adding this to enhance the contrast, we might want to step up the contrast a bit more on that label.

@RebeccaDeField
Copy link
Contributor

Here are some colors that should work well for the sidebar tab.

Horizontal gradient:
Stop 1: #4b525b
Stop 2: #2f333a

Should look something like this
1

@BaraMGB

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Jan 23, 2017

Thanks to @RebeccaDeField 👍

2017-01-23-131900_1920x1080_scrot

@@ -494,7 +494,7 @@ SideBar QToolButton:pressed {
}

SideBar QToolButton:checked {
background: none;
background: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 #4b525b, stop:1 #2f333a);
Copy link
Member

Choose a reason for hiding this comment

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

@BaraMGB code style formatting... You've used spaces instead of a tab.

@tresf
Copy link
Member

tresf commented Feb 5, 2017

Just one minor code formatting change, then we can merge this.

@BaraMGB
Copy link
Contributor Author

BaraMGB commented Feb 6, 2017

done ;)

@tresf tresf merged commit 3070cec into LMMS:master Feb 6, 2017
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
* SideBarButton set text below the icon

* change color of checked sidebarbutton

* adds a space to the sideBarButton title

* add gradient to checked side bar button

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

Successfully merging this pull request may close these issues.

4 participants