Commit d25da9ff authored by Harald Sitter's avatar Harald Sitter

fix dimension calculation on the scrollview for some reason its broken

parent 177785ca
......@@ -142,6 +142,11 @@ ApplicationWindow {
Layout.fillWidth: true
Layout.fillHeight: true
// Not sure why but auto-calc isn't working even though the view only has one child
// so it should be working according to the documentation.
contentWidth: imageItem.width
contentHeight: imageItem.height
Item {
id: imageItem
// Scrollview doesn't care about scales, so to actually represent the scaled image we
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