简体   繁体   English

TornadoFx TabPane-侧面=左侧,标签旋转样式

[英]TornadoFx TabPane - Side = left and label rotate style

  • .tab-container { -fx-background-color: transparent; .tab-container {-fx-background-color:透明; -fx-rotate: 90; -fx-rotate:90; } }

how do convert to tornadofx? 怎么转换为tornadofx? My Tab header label need to be aligned when side.Left.Please help on this 我的Tab标题标签在side.Left时需要对齐。请提供帮助

TornadoFX doesn't make any changes to the TabPane container, so exactly the same CSS and properties would work for a TornadoFX application. TornadoFX不会对TabPane容器进行任何更改,因此对于TornadoFX应用程序,完全相同的CSS和属性将适用。 I think you meant .tab-pane instead of .tab-container though. 我认为您的意思是.tab-pane而不是.tab-container。 If you want to write the same using type safe CSS, it would be: 如果要使用类型安全的CSS编写相同的代码,则应为:

tabPane {
    backgroundColor += Color.TRANSPARENT
    rotate = 90.deg
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM