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

Show more than one group color bar #5356

Merged
merged 4 commits into from
Oct 2, 2019
Merged

Show more than one group color bar #5356

merged 4 commits into from
Oct 2, 2019

Conversation

tobiasdiez
Copy link
Member

Shows multiple colored bars if the entry belongs to more than one group (with color). Implements #4574.
image


  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • Screenshots added in PR description (for bigger UI changes)
  • Ensured that the git commit message is a good one
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)

Shows multiple colored bars if the entry belongs to more than one group (with color). Implements #4574.
@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Sep 26, 2019
Copy link
Member

@matthiasgeiger matthiasgeiger left a comment

Choose a reason for hiding this comment

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

Looks good, just a small suggestion...


if (!groupColors.isEmpty()) {
HBox container = new HBox();
container.setSpacing(2);
container.setMinWidth(10);
container.setAlignment(Pos.CENTER);
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to set it to left align? Looks better imho 😀

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea, but now I cannot decide what I prefer 😸

Left-aligned
image

Right-aligned
image

or the centered version from above...?!

Copy link
Member

Choose a reason for hiding this comment

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

I would still say left aligned... But that's just my personal opinion 😁

@koppor
Copy link
Member

koppor commented Oct 1, 2019

+1 for left-aligned. If one does not know the feature, this looks better to me.

Anything else left?

@tobiasdiez
Copy link
Member Author

ok, left aligned it is. Ready to merge from my POV.

@koppor koppor merged commit c33ba43 into master Oct 2, 2019
@koppor koppor deleted the groupColorBars branch October 2, 2019 21:33
@koppor koppor removed the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 2, 2019
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.

3 participants