【发布时间】:2017-01-05 07:26:47
【问题描述】:
我正在使用代号为 1 的 CSS 插件,并且我正在尝试自定义选项卡的外观。
这是我的标签条目:
Tab {
background: none;
cn1-background-type: none;
color: white;
background-color: #005EA8;
font-weight: bold;
font-size: x-large;
}
Tab.selected {
background: none;
cn1-background-type: none;
color: white;
background-color: #005EA8;
text-decoration: underline;
font-weight: bold;
font-size: x-large;
}
这非常适合 IOS,请参见此处:
但对于安卓来说根本不是:
我已经尝试过覆盖所有样式,unselected, selected, disabled and pressed
.
我也尝试自定义 TabbedPane 和 Tabs,但这也没有按预期工作。
我在这里缺少什么?此外,两个设备上的大小(高度)应该相同,但目前情况并非如此。我想不通的另一点是,如何将标签拉伸到屏幕大小?
【问题讨论】:
标签: css codenameone