Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Adjust font size of some qml items (fps on monitor, etc)

parent 744f822f
......@@ -74,7 +74,7 @@ Rectangle {
anchors.fill: parent
horizontalAlignment: Text.AlignHCenter
text: trimInMouseArea.containsMouse || trimInMouseArea.pressed ? controller.toTimecode(controller.zoneIn) + '>' + controller.toTimecode(controller.zoneOut - controller.zoneIn) : trimOutMouseArea.containsMouse || trimOutMouseArea.pressed ? controller.toTimecode(controller.zoneOut - controller.zoneIn) + '<' + controller.toTimecode(controller.zoneOut) : controller.toTimecode(controller.zoneOut - controller.zoneIn)
font.pointSize: root.baseUnit
font.pixelSize: root.baseUnit
color: activePalette.highlightedText
}
}
......@@ -175,7 +175,7 @@ Rectangle {
Text {
id: mlabel
text: model.comment
font.pointSize: root.baseUnit
font.pixelSize: root.baseUnit
verticalAlignment: Text.AlignVCenter
anchors {
fill: parent
......
......@@ -26,7 +26,7 @@ Item {
property bool showSafezone
property bool showAudiothumb
property bool showToolbar: false
property real baseUnit: fontMetrics.font.pointSize
property real baseUnit: fontMetrics.font.pixelSize * 0.8
property int duration: 300
property int mouseRulerPos: 0
property double frameSize: 10
......
......@@ -25,7 +25,7 @@ Item {
property bool showFps
property bool showSafezone
property bool showAudiothumb
property real baseUnit: fontMetrics.font.pointSize
property real baseUnit: fontMetrics.font.pixelSize * 0.8
property int duration: 300
property int mouseRulerPos: 0
property double frameSize: 10
......
......@@ -122,7 +122,7 @@ Rectangle {
tooltip: trackLabel.visible? i18n('Minimize') : i18n('Expand')
}
Item {
width: nameEdit.height
width: trackTag.contentWidth + 4
height: width
Rectangle {
id: trackLed
......@@ -131,6 +131,7 @@ Rectangle {
width: height
border.width: 0
Text {
id: trackTag
text: trackHeadRoot.trackTag
anchors.fill: parent
verticalAlignment: Text.AlignVCenter
......@@ -295,6 +296,7 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 4
elide: Qt.ElideRight
font.pointSize: root.baseUnit * 0.9
}
Label {
id: placeHolder
......@@ -305,12 +307,14 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 4
elide: Qt.ElideRight
font.pointSize: root.baseUnit * 0.9
}
TextField {
id: nameEdit
visible: false
width: parent.width
text: trackName
font.pointSize: root.baseUnit * 0.9
style: TextFieldStyle {
padding.top:0
padding.bottom: 0
......
......@@ -5,7 +5,7 @@ import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick.Dialogs 1.2
import Kdenlive.Controls 1.0
import QtGraphicalEffects 1.0
//import QtGraphicalEffects 1.0
import QtQuick.Window 2.2
import 'Timeline.js' as Logic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment