-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Vertically align Groups and Web search panel #8397
Comments
@dimitrisdimos00 : since you have already touch some of this, maybe you would like to pursue? |
Would something like this get the label UI or rather the label groups/search? |
Both? 😉 |
ok xD Btw. another alternative could be to align the buttons I imagine both to be fine looking :) |
I believe we are used to have the text of a button centered. |
Hello. Yeah, I can look into it. So, shall we wait for the merge and then take a look at it? |
Yeah we can wait for the merger. This is not urgent as 5.4 stable was just released :) |
I would imagine that it would also look well if the names "Groups" and "Web search" are aligned left. |
The first suggestion is to move the "Add group" button and the "Search button" to the left in order to be right below "Groups" and "Web search" accordingly. The second one is to move the "Groups" and "Web search" labels completely to the left and leave the buttons where they are. Did I get it right? |
That is my understanding. About the titles of the panel: they are a bit off-centered at the moment. Groups looks a bit displaced to the left at the moment when the panel is wide) About their buttons:
|
Yeah we definitely should look at all three of them. And we should decide which of the two we will implement. I don't have something in mind for the OpenOffice/LibreOffice buttons though. |
Yeah, I noticed that too... I can look into it |
So shall I try moving the titles to the left? I think it is more plausible |
Yes, maybe you also can give us screenshots of the few options we have. We could vote, after all, there is more than one option how to deal with this :) |
…n of the Groups side panel. fixes JabRef#8397
I don't think I can align all the items completely because the buttons up, down, delete (x) and union (in the case of groups) push the titles (blue text) a little bit more to the left. All the items are centered already... |
Yes, this is the main reason, why i created this thread. |
Do not spend that much time on the alignment. It should be just easily distinguishable for the user from the rest of. |
Oh well. Then let's give it #8397 (comment) a try. |
Ok I will open a pr then |
… to the left (#8463) * Made Search button in Web Search panel as wide as the Add group button of the Groups side panel. fixes #8397 * Skewed side pane title to the left. fixes #8397 * Recorded change to CHANGELOG.md fixes #8397 * Corrected type in CHANGELOG.md fixes #8397 * Deleted forgotten comment fixes #8397
@dimitrisdimos00 Thanks! Now, titles really look like titles (and buttons look like buttons). Note: the titles are not vertically centered. They are slightly moved upward. |
Your welcome! Yeah about the vertical alignment, I don't know why that happens, I didn't notice it. |
Yeah, looking good :) |
@dimitrisdimos00 The central css stylesheet: https://github.com/JabRef/jabref/blob/main/src/main/java/org/jabref/gui/Base.css Scenic view might be helpful https://github.com/JonathanGiles/scenic-view for debuggin style issues |
Problem:
Groups
, theAdd group
button,Web search
and thesearch
button for Web search are centrally aligned and it looks odd, because the button "Toggle intersection" and the multiple buttons "Move panel up", "Move panel down" and "Hide panel" skew two of the four more towards the left.Desired Solution:
Align the text for the four along a common line.
Example:
The text could start somewhere along the red line:

I would refrain from aligning it completely to the left border as there should be a contrast to groups and search fields.
The text was updated successfully, but these errors were encountered: