[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [spectacle/Applications/16.04] src/QuickEditor: Fix image sizing inside the editor
From:       Boudhayan Gupta <me () BaloneyGeek ! com>
Date:       2016-03-27 18:25:52
Message-ID: E1akFNo-0006ry-JA () scm ! kde ! org
[Download RAW message or body]

Git commit a1782fc05cab519ecd1437eefbe0b418081e4118 by Boudhayan Gupta.
Committed on 27/03/2016 at 18:25.
Pushed by bgupta into branch 'Applications/16.04'.

Fix image sizing inside the editor

BUG: 361048

M  +2    -2    src/QuickEditor/EditorRoot.qml

http://commits.kde.org/kscreengenie/a1782fc05cab519ecd1437eefbe0b418081e4118

diff --git a/src/QuickEditor/EditorRoot.qml b/src/QuickEditor/EditorRoot.qml
index 428ba1a..55c6177 100644
--- a/src/QuickEditor/EditorRoot.qml
+++ b/src/QuickEditor/EditorRoot.qml
@@ -73,8 +73,8 @@ Item {
         source: "image://snapshot/rawimage";
         cache: false;
 
-        height: Screen.height;
-        width: Screen.width;
+        height: Window.height;
+        width: Window.width;
         fillMode: Image.PreserveAspectFit;
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic