mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:55:57 +08:00
Minor code cleanup
This commit is contained in:
parent
c8d9720a8a
commit
4fa9b94e30
@ -1,8 +1,5 @@
|
|||||||
import QtQuick 2.2
|
import QtQuick 2.2
|
||||||
import QtQuick.Controls 1.1
|
|
||||||
import QtQuick.Controls.Styles 1.1
|
|
||||||
import QtQuick.Layouts 1.1
|
|
||||||
import QtQuick.Dialogs 1.1
|
|
||||||
|
|
||||||
import UM 1.3 as UM
|
import UM 1.3 as UM
|
||||||
import Cura 1.0 as Cura
|
import Cura 1.0 as Cura
|
||||||
@ -15,9 +12,6 @@ Component
|
|||||||
width: sourceSize.width
|
width: sourceSize.width
|
||||||
height: sourceSize.height * width / sourceSize.width
|
height: sourceSize.height * width / sourceSize.width
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
//anchors.verticalCenter: parent.verticalCenter
|
|
||||||
//anchors.horizontalCenterOffset: - UM.Theme.getSize("sidebar").width / 2
|
|
||||||
//visible: base.monitoringPrint
|
|
||||||
onVisibleChanged:
|
onVisibleChanged:
|
||||||
{
|
{
|
||||||
if(visible)
|
if(visible)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user