Skip to content

SideBarButton set text below the icon#3256

Merged
tresf merged 5 commits into
LMMS:masterfrom
BaraMGB:sidebarbutton
Feb 6, 2017
Merged

SideBarButton set text below the icon#3256
tresf merged 5 commits into
LMMS:masterfrom
BaraMGB:sidebarbutton

Conversation

@BaraMGB

@BaraMGB BaraMGB commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

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

@mikobuntu

Copy link
Copy Markdown
Contributor

👍 great job :)

@tresf

tresf commented Jan 13, 2017

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

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

@tresf

tresf commented Jan 13, 2017

Copy link
Copy Markdown
Member

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

👍

@BaraMGB

BaraMGB commented Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

something like this design in my mockup could work?

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

@mikobuntu

Copy link
Copy Markdown
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

BaraMGB commented Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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

BaraMGB commented Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

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

@BaraMGB

BaraMGB commented Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

2017-01-13-214328_1280x800_scrot

looks not bad.

@tresf

tresf commented Jan 13, 2017

Copy link
Copy Markdown
Member

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

RebeccaDeField commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

BaraMGB commented Jan 23, 2017

Copy link
Copy Markdown
Contributor Author

Thanks to @RebeccaDeField 👍

2017-01-23-131900_1920x1080_scrot

Comment thread data/themes/default/style.css Outdated

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
Copy Markdown
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

tresf commented Feb 5, 2017

Copy link
Copy Markdown
Member

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

@BaraMGB

BaraMGB commented Feb 6, 2017

Copy link
Copy Markdown
Contributor Author

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