有没有办法在标签之间添加间距? 这里是一个图像: 标签之间的间距
我想添加“演示文稿”选项卡和“测试游戏”之间的任何帮助? 下面是我使用的CSS:
* {
-fx-focus-color: transparent;
-fx-faint-focus-color: transparent;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-border-radius: 0;
-fx-border-insets: 0;
}
/* tabs */
.tab {
-fx-background-color: linear-gradient(#9b2626, #721b1b);
-fx-border-color: #721b1b;
}
.tab-label {
-fx-text-fill: white;
}
.tab:hover {
-fx-background-color: #9b2626;
}
.tab:pressed {
-fx-background-color: #721b1b;
}
使用一种无形的边界可能?我不知道默认方法。 – Jonah
问题是我已经使用边界... – loryruta
'margin'也许有帮助,对此不太确定。 –