Fix left item width

pull/7/head
cutefishd 5 years ago
parent ce51e025ee
commit bec4833bed

@ -46,11 +46,12 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg14" /> inkscape:current-layer="svg14"
inkscape:document-rotation="0" />
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -46,11 +46,12 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg12" /> inkscape:current-layer="svg12"
inkscape:document-rotation="0" />
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -51,7 +51,7 @@
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -42,7 +42,7 @@
showgrid="false" showgrid="false"
inkscape:zoom="64.965436" inkscape:zoom="64.965436"
inkscape:cx="10.492294" inkscape:cx="10.492294"
inkscape:cy="9.0585588" inkscape:cy="10.289983"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
@ -51,7 +51,7 @@
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -51,7 +51,7 @@
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -51,7 +51,7 @@
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -45,9 +45,10 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg14" /> inkscape:current-layer="svg14"
inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg10" inkscape:current-layer="svg10"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -45,9 +45,10 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg14" /> inkscape:current-layer="svg14"
inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg10" inkscape:current-layer="svg10"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -45,9 +45,10 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg14" /> inkscape:current-layer="svg14"
inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -41,13 +41,14 @@
showgrid="false" showgrid="false"
inkscape:zoom="45.9375" inkscape:zoom="45.9375"
inkscape:cx="11" inkscape:cx="11"
inkscape:cy="8" inkscape:cy="9.7414966"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg10" /> inkscape:current-layer="svg10"
inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg14" inkscape:current-layer="svg14"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg10" inkscape:current-layer="svg10"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg14" inkscape:current-layer="svg14"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -48,7 +48,7 @@
inkscape:current-layer="svg10" inkscape:current-layer="svg10"
inkscape:document-rotation="0" /> inkscape:document-rotation="0" />
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -46,11 +46,12 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg16" /> inkscape:current-layer="svg16"
inkscape:document-rotation="0" />
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -46,11 +46,12 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg12" /> inkscape:current-layer="svg12"
inkscape:document-rotation="0" />
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -46,11 +46,12 @@
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="40" inkscape:window-y="40"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg16" /> inkscape:current-layer="svg16"
inkscape:document-rotation="0" />
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -51,7 +51,7 @@
<title <title
id="title2">Paper Symbolic Icon Theme</title> id="title2">Paper Symbolic Icon Theme</title>
<rect <rect
style="opacity:0.7;fill:#ffffff;fill-opacity:1;stroke-width:1.11904" style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke-width:1.11904"
id="rect843" id="rect843"
width="15.355352" width="15.355352"
height="8.3758783" height="8.3758783"

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -50,7 +50,8 @@ Item {
StandardItem { StandardItem {
id: acticityItem id: acticityItem
Layout.fillHeight: true Layout.fillHeight: true
Layout.preferredWidth: acticityLayout.implicitWidth ? acticityLayout.implicitWidth + FishUI.Units.largeSpacing Layout.preferredWidth: acticityLayout.implicitWidth ? Math.min(acticityLayout.implicitWidth + FishUI.Units.largeSpacing,
rootItem.width / 2)
: 0 : 0
onClicked: acticityMenu.open() onClicked: acticityMenu.open()
@ -74,6 +75,8 @@ Item {
Label { Label {
id: acticityLabel id: acticityLabel
text: acticity.title text: acticity.title
Layout.fillWidth: true
elide: Qt.ElideRight
color: FishUI.Theme.darkMode ? 'white' : 'black' color: FishUI.Theme.darkMode ? 'white' : 'black'
visible: text visible: text
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter

Loading…
Cancel
Save