This commit is contained in:
zhuzichu 2023-10-11 11:18:48 +08:00
parent fecbf48482
commit a2e15fc3b0
6 changed files with 3 additions and 10 deletions

View File

@ -2,7 +2,6 @@ pragma Singleton
import QtQuick
import FluentUI
import "qrc:///example/qml/global"
FluObject{

View File

@ -2,7 +2,6 @@ pragma Singleton
import QtQuick
import FluentUI
import "qrc:///example/qml/global"
FluObject{

View File

@ -2,7 +2,6 @@ pragma Singleton
import QtQuick 2.15
import FluentUI 1.0
import "qrc:///example/qml/global"
FluObject{

View File

@ -2,7 +2,6 @@ pragma Singleton
import QtQuick 2.15
import FluentUI 1.0
import "qrc:///example/qml/global"
FluObject{

View File

@ -22,7 +22,6 @@ FluApp::~FluApp(){
void FluApp::init(QQuickWindow *window){
this->_application = window;
qputenv("QT_QUICK_CONTROLS_STYLE","Basic");
FramelessHelper::Quick::initialize();
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow);

View File

@ -322,7 +322,6 @@ Rectangle {
id: column_text
text: modelData
anchors.fill: parent
font.bold: true
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
@ -464,6 +463,9 @@ Rectangle {
return []
}
}
onContentYChanged: {
forceLayout()
}
delegate: Rectangle{
id:item_control
readonly property real cellPadding: 8
@ -482,10 +484,6 @@ Rectangle {
id:row_text
anchors.centerIn: parent
text: row + 1
font.bold:{
d.selectionFlag
return true
}
}
MouseArea{
id:item_control_mouse