QmlProfiler: Reduce code duplication and add more anchoring
Anchors are supposed to reduce graphical glitches such as the gradient
borders getting detached from the edges of the timeline while resizing.
I'm not sure if it's actually better like this, but the code certainly
looks nicer.
Change-Id: I9eb6a6a50780ce642ad7cb551d2895a80b00690e
Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
Showing
- src/plugins/qmlprofiler/qml/HorizontalGradientBorder.qml 40 additions, 0 deletionssrc/plugins/qmlprofiler/qml/HorizontalGradientBorder.qml
- src/plugins/qmlprofiler/qml/MainView.qml 12 additions, 35 deletionssrc/plugins/qmlprofiler/qml/MainView.qml
- src/plugins/qmlprofiler/qml/VerticalGradientBorder.qml 45 additions, 0 deletionssrc/plugins/qmlprofiler/qml/VerticalGradientBorder.qml
- src/plugins/qmlprofiler/qml/qmlprofiler.qrc 2 additions, 0 deletionssrc/plugins/qmlprofiler/qml/qmlprofiler.qrc
- src/plugins/qmlprofiler/qmlprofiler.pro 3 additions, 1 deletionsrc/plugins/qmlprofiler/qmlprofiler.pro
- src/plugins/qmlprofiler/qmlprofiler.qbs 2 additions, 0 deletionssrc/plugins/qmlprofiler/qmlprofiler.qbs
Loading
Please register or sign in to comment