-
Notifications
You must be signed in to change notification settings - Fork 20
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
Color TrackScheme Hierarchy according to the time point (Issue 213) #231
Conversation
…d according implementations
…specified background color
* Use this class to display and update the current timepoint and the number of spots at that timepoint according to the current timepoint model
This reduces code duplication.
This unifies the way how: SelectModel, GraphColorGenerator and TimepointModel, are initialized and used in the LineageTreeLayout class.
Extract method addScreenEdge form cropAndScale. This change reduces code duplication between the two implementations of cropAndScale.
* Use these classes to perform fading in TrackSchemeHierachy view
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.
We are getting closer 👍
src/main/java/org/mastodon/views/trackscheme/LineageTreeLayoutImp.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/views/trackscheme/LineageTreeLayoutImp.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/views/trackscheme/display/PaintGraph.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/views/trackscheme/display/style/TrackSchemeStyle.java
Show resolved
Hide resolved
src/main/java/org/mastodon/views/trackscheme/display/TrackSchemePanel.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/views/trackscheme/display/TrackSchemePanel.java
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/MamutBranchViewTrackScheme.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/MamutBranchViewTrackScheme.java
Outdated
Show resolved
Hide resolved
src/main/java/org/mastodon/mamut/MamutBranchViewTrackScheme.java
Outdated
Show resolved
Hide resolved
051b093
to
119c095
Compare
Thanks for pointing this out. This bug was unfortunately introduced by this commit: 7406066 It should now be resolved by this commit: 37717dc |
Ready for review? |
Yes. |
Sorry I am late on this. Will work on it |
…lues should be used with java.util.Color objects
@tinevez may we kindly remind you on this review? we would love to have this finished/merged. |
…ings panel. Its size was too big to accomodate the default width of TrackScheme windows. Now we need to center and shrink the other widgets.
So that - we have some space to display them all with the default window width, - their texts are all aligned vertically on the same baseline, - the font used is the same everywhere.
I made a PR for your PR with minor changes, mainly sizing the opportunity to fix the look of the settings panel. |
* Adds section label in TrackScheme settings editor * Changes to the TrackScheme Toolbar UI
* Add a tooltip with some explanation of the function of the button
* On a windows machine the group lock ids (the numbers) where not shown, but "..." instead * I think only preferred size is need to set the size
* I think it is better to avoid abbreviations in user interfaces. What might be clear to us (t = timepoint) may not be so clear for a newbie user.
Hi @tinevez, I merged your PR stefanhahmann#17. However after merging the toolbar of the trackscheme windows looked like this on my (windows) machine: Thus, I increased the size of the Group Locks Panel again: 3162483 Also, I think, it is better to avoid abbreviations in user interfaces. Thus I made these changes: which make the toolbar of trackscheme window look like this on my windows: Hope you agree? |
Go for it! |
@maarzt may I ask you to merge (I do not have the rights to do so)? If you have questions regarding the remaining conflict, you may contact me. |
Merged! But I had to do it via a local branch I had rights on. |
Closes #213