The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 09ed2029 authored by yannick legoc's avatar yannick legoc
Browse files

Corrected bug of bold style of tree cells

parent 3df0215c
......@@ -212,7 +212,11 @@ public class HierarchyCell extends CheckBoxTreeCell<Component> {
setText(getTextValue(component));
setContextMenu(rigthClickMenu);
// It is mandatory to reset the style before.
setStyle(null);
// Set the bold style if the component is added or renamed.
if (component.isAdded() || component.isRenamed()) {
setStyle("-fx-font-weight: bold;");
}
......
......@@ -11,3 +11,8 @@
-fx-text-fill: #333333;
-fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );
}
.tree-cell {
-fx-background-color: #0a0a0a ;
-fx-text-fill: #ffffff ;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment