on xenial help sign in
Fix typo
6238a5cMichał Sawicz
plugins/Dash/CardCreator.js+1−1
@@ -215,7 +215,7 @@ var kTitleLabelCode = 'Label { \n\
215 elide: Text.ElideRight; \n\
215 elide: Text.ElideRight; \n\
216 fontSize: "small"; \n\
216 fontSize: "small"; \n\
217 wrapMode: Text.Wrap; \n\
217 wrapMode: Text.Wrap; \n\
218− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2; \n\
218+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2; \n\
219 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); \n\
219 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); \n\
220 color: %2; \n\
220 color: %2; \n\
221 visible: showHeader %3; \n\
221 visible: showHeader %3; \n\
tests/plugins/Dash/cardcreator/1.res+1−1
@@ -68,7 +68,7 @@ Label {
68 elide: Text.ElideRight;
68 elide: Text.ElideRight;
69 fontSize: "small";
69 fontSize: "small";
70 wrapMode: Text.Wrap;
70 wrapMode: Text.Wrap;
71− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
71+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
73 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
73 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
74 visible: showHeader ;
74 visible: showHeader ;
tests/plugins/Dash/cardcreator/2.res+1−1
@@ -92,7 +92,7 @@ Image {
92 elide: Text.ElideRight;
92 elide: Text.ElideRight;
93 fontSize: "small";
93 fontSize: "small";
94 wrapMode: Text.Wrap;
94 wrapMode: Text.Wrap;
95− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
95+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
96 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
96 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
97 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
97 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
98 visible: showHeader ;
98 visible: showHeader ;
tests/plugins/Dash/cardcreator/3.res+1−1
@@ -68,7 +68,7 @@ Label {
68 elide: Text.ElideRight;
68 elide: Text.ElideRight;
69 fontSize: "small";
69 fontSize: "small";
70 wrapMode: Text.Wrap;
70 wrapMode: Text.Wrap;
71− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
71+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
73 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
73 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
74 visible: showHeader ;
74 visible: showHeader ;
tests/plugins/Dash/cardcreator/4.res+1−1
@@ -72,7 +72,7 @@ Label {
72 elide: Text.ElideRight;
72 elide: Text.ElideRight;
73 fontSize: "small";
73 fontSize: "small";
74 wrapMode: Text.Wrap;
74 wrapMode: Text.Wrap;
75− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
75+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
76 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
76 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
77 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
77 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
78 visible: showHeader ;
78 visible: showHeader ;
tests/plugins/Dash/cardcreator/5.res+1−1
@@ -112,7 +112,7 @@ Label {
112 elide: Text.ElideRight;
112 elide: Text.ElideRight;
113 fontSize: "small";
113 fontSize: "small";
114 wrapMode: Text.Wrap;
114 wrapMode: Text.Wrap;
115− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
115+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
116 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
116 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
117 color: root.scopeStyle ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
117 color: root.scopeStyle ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
118 visible: showHeader && overlayLoader.active;
118 visible: showHeader && overlayLoader.active;
tests/plugins/Dash/cardcreator/6.res+1−1
@@ -68,7 +68,7 @@ Item {
68 elide: Text.ElideRight;
68 elide: Text.ElideRight;
69 fontSize: "small";
69 fontSize: "small";
70 wrapMode: Text.Wrap;
70 wrapMode: Text.Wrap;
71− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
71+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
72 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
73 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
73 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
74 visible: showHeader ;
74 visible: showHeader ;
tests/plugins/Dash/cardcreator/7.res+1−1
@@ -93,7 +93,7 @@ Image {
93 elide: Text.ElideRight;
93 elide: Text.ElideRight;
94 fontSize: "small";
94 fontSize: "small";
95 wrapMode: Text.Wrap;
95 wrapMode: Text.Wrap;
96− maximumLineCount: horizontalAlignment === Text.AlighHCenter ? 1 : 2;
96+ maximumLineCount: horizontalAlignment === Text.AlignHCenter ? 1 : 2;
97 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
97 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
98 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
98 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
99 visible: showHeader ;
99 visible: showHeader ;