JavaFX 2.0 TabPane:左侧的选项卡并保持选项卡标题水平 [英] JavaFX 2.0 TabPane : Tabs at left and keep tab header horizontal

查看:366
本文介绍了JavaFX 2.0 TabPane:左侧的选项卡并保持选项卡标题水平的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Web应用程序开发GUI,我想设置一个TabPane,其左侧有标签,使标签标题保持水平。
我已经找到了如何将标签放在左边,但经过多次搜索后,我没有成功将标题设置为正确的对齐方式。它们仍然垂直且难以阅读。

I'm trying to develop a GUI for a web application and I wanted to set a TabPane with tabs placed at left keeping the tab headers horizontal. I already found how to place the tabs at left, but after many searches I didn't succeed to set the headers in the right alignment. They still vertical and difficult to read.

我怎么能修复它?

推荐答案

有一个开放的功能请求:
RT-19547用于在tabpane选项卡上旋转文本的新API

There is an open feature request for this: RT-19547 New API to rotate text on tabpane tabs

功能请求当前已打开,但尚未安排实施。您可以对功能请求进行投票或评论,并链接回此StackOverflow帖子以注册您对该功能的兴趣。

The feature request is currently open, but not scheduled for implementation. You can vote for or comment on the feature request and link back to this StackOverflow post to register your interest in the feature.

要自己实现此功能,您需要创建一个新的TabPane皮肤或修补现有的TabPane皮肤,这可能不是一件容易的事。

To implement this yourself, you will need to create a new TabPane skin or patch the existing TabPane skin, which is likely not trivial.

这篇关于JavaFX 2.0 TabPane:左侧的选项卡并保持选项卡标题水平的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆