-
Notifications
You must be signed in to change notification settings - Fork 39
Feature/finished/iia 1529 drop line below title #406
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
Feature/finished/iia 1529 drop line below title #406
Conversation
… the 0th position
merge from main
…ps://github.com/jdsmithsos/komet into feature/finished/IIA-1529-drop-line-below-title
…bel for the horizontal spacing below the label
…hen over the drop line area
dholubek
left a comment
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.
looks good
dukke
left a comment
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.
Nice work! Looks good to me just had a small nitpick comment that is of something that's not even part of your PR.
| @@ -306,7 +323,21 @@ protected void layoutChildren(double contentX, double contentY, double contentWi | |||
| double x = contentX + padding.getLeft(); | |||
| double y = contentY + padding.getTop(); | |||
| titleLabel.resizeRelocate(x, y, labelPrefWidth, labelPrefHeight); | |||
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.
This isn't part of your PR and it's a small nitpick but can you rename labelPrefWidth and labelPrefHeight to titlePrefWidth and titlePrefHeight?
carldea
left a comment
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.
Looks good to me.
Jira ticket:
https://ikmdev.atlassian.net/browse/IIA-1529
Summary of changes:
Before changes:
Both the component dashed rectangle and drop line are shown
No top dropLine
After changes:
Drop line is not displayed when the component is highlighted during DnD
Top dropLine is now available for DnD
After drop at top dropLine