mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:45:59 +08:00
Added some missing widths en heights
GammaRay complained about some objects not having a size
This commit is contained in:
parent
eaa7b75f0e
commit
a7e1017aa2
@ -18,6 +18,7 @@ Item {
|
|||||||
UM.I18nCatalog { id: catalog; name:"cura"}
|
UM.I18nCatalog { id: catalog; name:"cura"}
|
||||||
|
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
width: childrenRect.width
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,8 @@ Item
|
|||||||
id: repeat
|
id: repeat
|
||||||
|
|
||||||
model: UM.ToolModel { }
|
model: UM.ToolModel { }
|
||||||
|
width: childrenRect.width
|
||||||
|
height: childrenRect.height
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
text: model.name
|
text: model.name
|
||||||
@ -72,6 +73,8 @@ Item
|
|||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
id: extruders
|
id: extruders
|
||||||
|
width: childrenRect.width
|
||||||
|
height: childrenRect.height
|
||||||
property var _model: Cura.ExtrudersModel { id: extrudersModel }
|
property var _model: Cura.ExtrudersModel { id: extrudersModel }
|
||||||
model: _model.items.length > 1 ? _model : 0
|
model: _model.items.length > 1 ? _model : 0
|
||||||
ExtruderButton { extruder: model }
|
ExtruderButton { extruder: model }
|
||||||
|
@ -279,7 +279,8 @@ Rectangle
|
|||||||
|
|
||||||
property var buttonTarget: Qt.point(viewModeButton.x + viewModeButton.width / 2, viewModeButton.y + viewModeButton.height / 2)
|
property var buttonTarget: Qt.point(viewModeButton.x + viewModeButton.width / 2, viewModeButton.y + viewModeButton.height / 2)
|
||||||
|
|
||||||
height: childrenRect.height;
|
height: childrenRect.height
|
||||||
|
width: childrenRect.width
|
||||||
|
|
||||||
source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : "";
|
source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user