0

application.e4xmi でアプリケーション ツールバーを作成しました

ここに画像の説明を入力

その後、以下のように.cssを微調整しました

/* JavaFX CSS - Main CSS-File */
.root {
-fx-base: rgb(222, 234, 247);
-fx-background: rgb(222, 234, 247);
}
 
.tab {
-fx-background-color: linear-gradient(to top, -fx-base, derive(-fx-base,30%));
}
 
.menu-bar {
-fx-background-color: linear-gradient(to bottom, -fx-base, derive(-fx-base,30%));
}
.tool-bar  > .container{
}
.tool-bar:vertical {
}

.tool-bar:horizontal {
-fx-background: #ececec;
-fx-base: #ececec;
}

.tree-view{
-fx-focus-color: #f21a3f;
}

/*.table-view {
-fx-control-inner-background:  rgb(222, 234, 247);
-fx-table-cell-border-color:derive(-fx-base,+10%);
-fx-table-header-border-color:derive(-fx-base,+20%);
} */
 
.split-pane:horizontal > * > .split-pane-divider {
-fx-control-inner-background : rgb(255, 255, 255);
-fx-border-color: transparent -fx-base transparent -fx-base;
-fx-background-color: transparent, derive(-fx-base,20%);
-fx-background-insets: 0, 0 1 0 1;
}
 
.my-gridpane {
-fx-background-color: radial-gradient(radius 100%, derive(-fx-base,20%), derive(-fx-base,-20%));
}
 
.separator-label {
-fx-text-fill: orange;
}

現在、Eclipse RCP アプリケーションでツールバーの強調表示された領域の背景色を変更しようとしています。

ここに画像の説明を入力

任意の提案をいただければ幸いです。

4

1 に答える 1