From 3823e90374b703f25d90594109463d43efc5fc73 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Thu, 3 Apr 2014 18:02:52 +0200 Subject: [PATCH] Improved no frame profile --- app/app.qmlproject.user | 2 +- app/frames/NoFrame.qml | 23 ++++++++++------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/app.qmlproject.user b/app/app.qmlproject.user index bdd6b1b..925fbfb 100644 --- a/app/app.qmlproject.user +++ b/app/app.qmlproject.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/app/frames/NoFrame.qml b/app/frames/NoFrame.qml index 58a0806..a5487ce 100644 --- a/app/frames/NoFrame.qml +++ b/app/frames/NoFrame.qml @@ -5,17 +5,14 @@ TerminalFrame{ id: frame z: 2.1 anchors.fill: parent - addedWidth: 140 - addedHeight: 140 - borderLeft: 116 - borderRight: 116 - borderTop: 116 - borderBottom: 116 - imageSource: "../images/screen-frame.png" - sourceRect: Qt.rect(-65 * shadersettings.total_scaling, - -75 * shadersettings.total_scaling, - terminal.width + 130 * shadersettings.total_scaling, - terminal.height + 150 * shadersettings.total_scaling) - - shaderString: "NoFrameShader.qml" + addedWidth: 0 + addedHeight: 0 + borderLeft: 0 + borderRight: 0 + borderTop: 0 + borderBottom: 0 + sourceRect: Qt.rect(-15, + -15, + terminal.width + 15, + terminal.height + 15) }