diff options
author | Alexandre Moreno <alexmorenocano@gmail.com> | 2015-10-24 21:47:38 +0800 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-24 20:37:05 +0300 |
commit | c0a5e72f37b1616ce072b33f47c2799fbac7907e (patch) | |
tree | 14666cb3b8bcfcd13f41595025ad5f88c7901a70 | |
parent | f327c85d2520a97e52a19f9f3debe0ec78cdfd33 (diff) |
qt: elide long titles
Fixes #121
-rw-r--r-- | qt/main.qml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/qt/main.qml b/qt/main.qml index 85014c3..b3eb188 100644 --- a/qt/main.qml +++ b/qt/main.qml @@ -76,14 +76,6 @@ ApplicationWindow { onTriggered: fileDialog.open() } - menuBar: MenuBar { - Menu { - title: "&File" - MenuItem { action: fileOpenAction } - MenuItem { text: "Quit"; onTriggered: Qt.quit() } - } - } - Item { anchors.fill: parent FontLoader { @@ -452,8 +444,10 @@ ApplicationWindow { height: 38 Text { anchors.centerIn: parent + width: parent.width text: player.mediaInfo.title font.pointSize: 15 + elide: Text.ElideRight } } |