Skip to content

Commit 696c6b2

Browse files
bhharsh13bhavanisreeharicarldea
authored
IIA-1586 Border of the Expanded Pattern should get highlighted (#616)
* Update version to start feature: IIA-1586-Pattern-border-highlight * Highlight the Pattern Border * Highlight the Pattern when expanded * Update version to finish feature: IIA-1586-Pattern-border-highlight * Increased the border width and bgColor * changed the styleclassname --------- Co-authored-by: Sreehari <bhsreehari@deloitte.com> Co-authored-by: Carl Dea <carl.dea@gmail.com>
1 parent a11df9b commit 696c6b2

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

kview/src/main/java/dev/ikm/komet/kview/mvvm/view/navigation/PatternNavEntryController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ private void initialize() {
9494

9595
instancesTitledPane.expandedProperty().addListener((obs, wasExpanded, isNowExpanded) -> {
9696
if (isNowExpanded) {
97-
if (!mainVBox.getStyleClass().contains("search-entry-title-pane")) {
98-
mainVBox.getStyleClass().add("search-entry-title-pane");
97+
if (!mainVBox.getStyleClass().contains("search-entry-title-pane-pattern")) {
98+
mainVBox.getStyleClass().add("search-entry-title-pane-pattern");
9999
}
100100
} else {
101-
mainVBox.getStyleClass().remove("search-entry-title-pane");
101+
mainVBox.getStyleClass().remove("search-entry-title-pane-pattern");
102102
}
103103
});
104104

kview/src/main/resources/dev/ikm/komet/kview/mvvm/view/kview.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,6 +3154,14 @@ Timeline Year line segment (will overlay change circles)
31543154
-fx-border-color: -Secondary-05;
31553155
}
31563156

3157+
.search-entry-title-pane-pattern {
3158+
-fx-border-color: -Secondary-05;
3159+
-fx-border-width: 3px;
3160+
-fx-border-radius: 0;
3161+
-fx-background-radius: 0;
3162+
-fx-background-color: -Grey-2;
3163+
}
3164+
31573165
.search-entry-title-pane > .content {
31583166
-fx-border-width: 0;
31593167
}

0 commit comments

Comments
 (0)