FXMLで配置したコントロールに、CSSで文字フォントを「MS ゴシック」にした状態で、太字を指定(-fx-font-weight:bold;)しても太字になりません。
文字フォントを他のフォント(例:-fx-font-family:"Meiryo";)にすると太字になります。
MS ゴシックの場合に太字にならないのは仕様でしょうか。
↓設定しているCSS
/* ボタン*/
.button {
/* 背景色 */
-fx-background-color: #969696, #333333, #969696,
linear-gradient(to bottom, derive(#ffffdd,10%), derive(#ffffde,-15%));
/* 背景マージン */
-fx-background-insets: 0 0 -1 0, 0, 0.5, 1;
/* 角丸 */
-fx-background-radius: 5, 5, 4, 3;
/* パディング */
-fx-padding: 0.05em 1.5em 0.05em 1.5em;
/* 文字色 */
-fx-text-fill: #000000;
/* 文字位置 */
-fx-alignment: CENTER;
/* フォントサイズ */
-fx-font-size:14px;
/* フォント名 */
-fx-font-family:"MS ゴシック";
/* フォント幅 */
-fx-font-weight:bold; ←※効いていない。。。(-fx-font-family:"Meiryo"なら有効)
/* 境界線スタイル */
-fx-border-style:solid;
/* 境界線サイズ */
-fx-border-width:0;
}
よろしくお願い致します。