Skip to content

Commit

Permalink
refact: modify icon's size to 24
Browse files Browse the repository at this point in the history
  DSvgRender can't resolve some icon, e.g: `xlink:href="data:img/png;base64`
and we can find `png` firstly by modifing size to properly,

Issue: linuxdeepin/developer-center#6291
  • Loading branch information
18202781743 committed Jan 3, 2024
1 parent c5096e5 commit 602a4d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions qt6/src/qml/FlowStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ QtObject {

property QtObject edit: QtObject {
property int indicatorSpacing: 7
property int indicatorSize: 22
property int indicatorSize: 24

property D.Palette separator: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.05)
Expand All @@ -412,7 +412,7 @@ QtObject {
// Edit
property QtObject edit: QtObject {
property int width: 180
property int actionIconSize: 22
property int actionIconSize: 24
property int textFieldHeight: 36
property int textAreaHeight: 100

Expand Down Expand Up @@ -546,7 +546,7 @@ QtObject {
property QtObject floatingMessage: QtObject {
property int maximumWidth: 450
property int minimumHeight: 40
property int closeButtonSize: 22
property int closeButtonSize: 24
}

property QtObject floatingPanel: QtObject {
Expand Down Expand Up @@ -707,8 +707,8 @@ QtObject {
property int height: 40
property color normalColor: Qt.rgba(0, 0, 0, 0.05)
property color cascadeColor: Qt.rgba(0, 0, 0, 0.15)
property int iconSize: 22
property int checkIndicatorIconSize: 22
property int iconSize: 24
property int checkIndicatorIconSize: 24
property D.Palette checkBackgroundColor: D.Palette {
hovered: Qt.rgba(0, 0, 0, 0.1)
normal: Qt.rgba(0, 0, 0, 0.05)
Expand Down
10 changes: 5 additions & 5 deletions src/qml/FlowStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ QtObject {

property QtObject edit: QtObject {
property int indicatorSpacing: 7
property int indicatorSize: 22
property int indicatorSize: 24

property D.Palette separator: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.05)
Expand All @@ -412,7 +412,7 @@ QtObject {
// Edit
property QtObject edit: QtObject {
property int width: 180
property int actionIconSize: 22
property int actionIconSize: 24
property int textFieldHeight: 36
property int textAreaHeight: 100

Expand Down Expand Up @@ -546,7 +546,7 @@ QtObject {
property QtObject floatingMessage: QtObject {
property int maximumWidth: 450
property int minimumHeight: 40
property int closeButtonSize: 22
property int closeButtonSize: 24
}

property QtObject floatingPanel: QtObject {
Expand Down Expand Up @@ -707,8 +707,8 @@ QtObject {
property int height: 40
property color normalColor: Qt.rgba(0, 0, 0, 0.05)
property color cascadeColor: Qt.rgba(0, 0, 0, 0.15)
property int iconSize: 22
property int checkIndicatorIconSize: 22
property int iconSize: 24
property int checkIndicatorIconSize: 24
property D.Palette checkBackgroundColor: D.Palette {
hovered: Qt.rgba(0, 0, 0, 0.1)
normal: Qt.rgba(0, 0, 0, 0.05)
Expand Down

0 comments on commit 602a4d2

Please sign in to comment.