ui/qml/widgets/ScalingLabel.qml

14 lines
270 B
QML
Raw Normal View History

2018-10-28 02:49:14 +00:00
import QtGraphicalEffects 1.0
import QtQuick 2.7
import QtQuick.Controls 2.4
import QtQuick.Controls.Material 2.0
import QtQuick.Layouts 1.3
2018-10-30 19:50:41 +00:00
import QtQuick.Window 2.11
2018-10-28 02:49:14 +00:00
2018-10-30 19:50:41 +00:00
Label {
font.pixelSize: zoomSlider.value * size
wrapMode: Text.WordWrap
property real size: 12
2018-10-28 02:49:14 +00:00
}