-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Lib redesign skin fixes #1671
Lib redesign skin fixes #1671
Conversation
screenshots? |
screens added |
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.
The text above the control pane in LateNight is cut off for me with Qt5 and a scale factor of 2.5.
Interestingly the feature name text above the track table does not show at all in Tango:
While we have only one feature showing, I think this is preferable. If you could make the other skins do this, that would be nice.
Aside from that I noticed some minor code quality nitpicks.
--> | ||
<Template> | ||
<WidgetGroup> | ||
<ObjectName>TEST2</ObjectName> |
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.
Did you forget to remove this line?
a) If the library sidebar is big enough they are shown above the tree view. | ||
b) If the sidebar is too narrow, they are shown above the tracks table, | ||
next to the searchbox | ||
Depending on sidebar size, the WidgetStacks flip '[Tango],lib_sidebar_collapsed' |
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.
[Tango]?
res/skins/Deere/library.xml
Outdated
<Children> | ||
|
||
<Template src="skin:library_sidebar_tester.xml"/> |
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.
tester?
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.
I can name it library_sidebar_width_detector.xml
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.
or we move the button bar outside the splitter, then this SizeAwareStack can be removed as well
res/skins/LateNight/library.xml
Outdated
</WidgetGroup> | ||
|
||
<Splitter> | ||
<ObjectName>HoriSplitter</ObjectName> |
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.
Please spell out "HorizontalSplitter"
res/skins/LateNight/library.xml
Outdated
<Layout>horizontal</Layout> | ||
<SizePolicy>me,me</SizePolicy> | ||
<Children> | ||
|
||
<Splitter> | ||
<ObjectName>LibrarySplitter</ObjectName> | ||
<ObjectName>VertSplitter</ObjectName> |
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.
Please spell out "VerticalSplitter"
a) If the library sidebar is big enough they are shown above the tree view. | ||
b) If the sidebar is too narrow, they are shown above the tracks table, | ||
next to the searchbox | ||
Depending on sidebar size, the WidgetStacks flip '[Tango],lib_sidebar_collapsed' |
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.
[Tango]? Do you mean [Skin]?
yep, I used a different hack to hide it. works @100% but scaling doesn't respect all sizes declared in css. Changed it so it works like in Tango now.
Sure. Also applied some basic fixes in Shade. |
…litters in LateNight
@Be-ing |
Though I'm wondering why the Library preview button in LateNight has some kind of minimum width defined: the preview column can be resized but the button itself occupies 65px anyway, so the icon is shifted and only partially visible if the preview column is too small |
Strange, didn't touch it. Fixed.
Got it! It was a leftover/merge conflict:
Can't confirm, behaves basicallly the same in all skins.
Those special library features are still unstyled as I was waiting for some feedback from @daschuer |
Now Shade library is styled as well. |
it seems that there are now "Conflicting files" |
latenight:
still open:
And I got a crash while I was trying to load a random track to autodj
as Autodj source I had an empty crate, but I was not able to reproduce this crash.. |
fixed:
I just compiled your branch, or should I compile the lib-redesign branch and copy only the skin folder from your branch? |
Not related to this PR as it changes skin files only. |
@nopeppermint |
@ronso0 nice ! one thing I see compared with branch 2.1, the title of the currently selected widget (library, autodj... ) needs a lot of vertical space. I think one's the suggested layout in #1117 (comment) is implemented, we need less space as well
|
There are still some small issues, but those can be fixed later. This branch has enough improvements to be merged now. Thanks @ronso0, and thanks @nopeppermint for review. |
Minor issues in Tango:
|
yeah, this can be removed. I notice I don't use it at all anymore. It was intended as a quick toggle instead of going to the View menu, so IMO it doesn't make sense to have it in Skin Settings. The splitter graphic shows up when I load now-merged & updated Tango from lib-redesign branch. There were issues after rebasing but it should be fine now. |
follow-up is #1723 |
Edit I removed the feature label from the sidebar in all skins. The feature title is available via BreadCrumbs above tracks table.
Tango:
Deere: move Lib maximize toggle above WButtonbar, push it next to Searchbox if sidebar is (almost) collapsed
LateNight:
Please test!