Browse Source

CURA-5537 Style improvements

Ian Paschal 6 years ago
parent
commit
d4aaec7355

+ 2 - 0
plugins/Toolbox/resources/qml/ToolboxDetailPage.qml

@@ -74,6 +74,7 @@ Item
             }
             spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
             width: childrenRect.width
+            height: childrenRect.height
             Label
             {
                 text: catalog.i18nc("@label", "Version") + ":"
@@ -110,6 +111,7 @@ Item
                 topMargin: UM.Theme.getSize("default_margin").height
             }
             spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
+            height: childrenRect.height
             Label
             {
                 text: details.version || catalog.i18nc("@label", "Unknown")

+ 1 - 1
plugins/Toolbox/resources/qml/ToolboxDownloadsGrid.qml

@@ -25,7 +25,7 @@ Column
     {
         id: grid
         property var model: toolbox.viewCategory == "material" ? toolbox.authorsModel : toolbox.packagesModel
-        width: parent.width
+        width: parent.width - 2 * parent.padding
         columns: 2
         columnSpacing: UM.Theme.getSize("default_margin").height
         rowSpacing: UM.Theme.getSize("default_margin").width

+ 1 - 0
plugins/Toolbox/resources/qml/ToolboxFooter.qml

@@ -25,6 +25,7 @@ Item
             right: restartButton.right
             rightMargin: UM.Theme.getSize("default_margin").width
         }
+        color: UM.Theme.getColor("text")
     }
     Button
     {

+ 1 - 1
resources/themes/cura-light/theme.json

@@ -448,7 +448,7 @@
         "toolbox_footer_button": [8.0, 2.5],
         "toolbox_showcase_spacing": [1.0, 1.0],
         "toolbox_header_tab": [8.0, 4.0],
-        "toolbox_detail_header": [1.0, 12.0],
+        "toolbox_detail_header": [1.0, 14.0],
         "toolbox_detail_tile": [1.0, 8.0],
         "toolbox_back_column": [6.0, 1.0],
         "toolbox_back_button": [4.0, 2.0],