This commit is contained in:
朱子楚\zhuzi
2023-03-24 22:13:41 +08:00
parent 09bf3cf0ab
commit 8b0a0c7c98
3 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,10 @@ FluContentPage {
title: "Typography"
property int textSize: 13
Component.onCompleted: {
slider.seek(31)
}
ScrollView{
clip: true
width: parent.width
@ -68,6 +72,7 @@ FluContentPage {
FluSlider{
id:slider
orientation:FluSlider.Vertical
anchors{
right: parent.right
@ -78,7 +83,6 @@ FluContentPage {
onValueChanged:{
textSize = value/100*16+8
}
value: 31
}
}

View File

@ -18,7 +18,6 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationName("ZhuZiChu");
QCoreApplication::setOrganizationDomain("https://zhuzichu520.github.io");
QCoreApplication::setApplicationName("FluentUI");
// QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
QQuickStyle::setStyle("Basic");
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;