diff --git a/AppPane.qml b/AppPane.qml index b7b70cb..8114d84 100644 --- a/AppPane.qml +++ b/AppPane.qml @@ -5,10 +5,8 @@ import QtQuick.Templates as T T.Pane { id: control - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, contentHeight + topPadding + bottomPadding) padding: 12 diff --git a/gallery/Main.qml b/gallery/Main.qml index a326ec4..3b07beb 100644 --- a/gallery/Main.qml +++ b/gallery/Main.qml @@ -155,57 +155,57 @@ AppWindow { } Row { - AppText { - text: "duotone" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/duotone/basic/bookmark.svg" - color: "green" - } + AppText { + text: "duotone" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/duotone/basic/bookmark.svg" + color: "green" + } } Row { - AppText { - text: "duocolor" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/duocolor/basic/bookmark.svg" - color: "green" - } + AppText { + text: "duocolor" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/duocolor/basic/bookmark.svg" + color: "green" + } } Row { - AppText { - text: "mono" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/mono/basic/bookmark.svg" - color: "green" - } + AppText { + text: "mono" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/mono/basic/bookmark.svg" + color: "green" + } } Row { - AppText { - text: "gestalt" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/gestalt/basic/bookmark.svg" - color: "green" - } + AppText { + text: "gestalt" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/gestalt/basic/bookmark.svg" + color: "green" + } } Row { - AppText { - text: "line" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/line/basic/bookmark.svg" - } + AppText { + text: "line" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/line/basic/bookmark.svg" + } } Row { - AppText { - text: "filled" - } - AppIcon { - source: "qrc:/live.flowy/imports/DesignSystem/anronicons/filled/basic/bookmark.svg" - color: "green" - } + AppText { + text: "filled" + } + AppIcon { + source: "qrc:/live.flowy/imports/DesignSystem/anronicons/filled/basic/bookmark.svg" + color: "green" + } } } }