TG-PlatformPlus/qml/Style/TabViewStyle.qml

23 lines
784 B
QML
Raw Normal View History

2026-03-02 14:29:58 +08:00
import QtQuick
import QtQuick.Controls.Styles
TabViewStyle {
frameOverlap: 0
tabOverlap:0
tab: Rectangle {
color: styleData.selected ? "#e5e5e5" :"#f5f5f5"
implicitWidth: 80
implicitHeight: 30
radius: 2
Text {
id: text
anchors.centerIn: parent
text: styleData.title
font.family: "微软雅黑"
font.pointSize: 10
color: "black"
}
}
tabBar : Rectangle{ color: "#F3F3F3"}
frame: Rectangle { color: "white" }
}