Files
neochat/qml/form/SettingGeneralForm.qml
Black Hat 9f46bf8c42 Add an option to use RichText instead of StyledText.
This fixes empty space issue at a cost of reduced performance.
2018-08-18 17:56:55 +08:00

30 lines
727 B
QML

import QtQuick 2.9
import QtQuick.Controls 2.2
Page {
property alias lazyLoad: lazyLoadSwitch.checked
property alias asyncMessageDelegate: asyncMessageDelegateSwitch.checked
property alias richText: richTextSwitch.checked
Column {
Switch {
id: lazyLoadSwitch
text: "Lazy load at initial sync"
}
Switch {
id: asyncMessageDelegateSwitch
text: "Force loading message delegates asynchronously"
}
Switch {
id: richTextSwitch
text: "Use RichText instead of StyledText"
}
Button {
text: "Invoke GC"
highlighted: true
onClicked: gc()
}
}
}