update
parent
09bf3cf0ab
commit
8b0a0c7c98
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -22,7 +22,8 @@ Popup {
|
|||
modal:true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
closePolicy: Popup.CloseOnEscape
|
||||
background: Rectangle {
|
||||
background:Item{}
|
||||
contentItem: Rectangle {
|
||||
id:layout_content
|
||||
implicitWidth:minWidth
|
||||
implicitHeight: text_title.height + text_message.height + layout_actions.height
|
||||
|
|
Loading…
Reference in New Issue