var hasArt = components["art"] && components["art"]["field"] || false;
var hasSummary = components["summary"] || false;
And the showHeader changes to true, but the times it fails the rectangle is not seen. Seems indeed as if we're missing some last repaint of something :-S
Added this patch
=== modified file 'plugins/ Dash/CardCreato r.js' Dash/CardCreato r.js 2014-05-15 09:08:51 +0000 Dash/CardCreato r.js 2014-05-21 09:21:28 +0000
readonly property string title: cardData && cardData["title"] || ""; \n\
property bool asynchronous: true; \n\
property bool showHeader: true; \n\ nged: console. log("showHeader ", root, showHeader); \n\
--- plugins/
+++ plugins/
@@ -289,7 +289,9 @@
- implicitWidth: childrenRect.width; \n';
+ implicitWidth: childrenRect.width; \n\
+ onShowHeaderCha
+ Rectangle { color: "red"; opacity: 0.5; anchors.fill: parent; visible: showHeader }';
var hasArt = components["art"] && components[ "art"][ "field" ] || false; "summary" ] || false;
var hasSummary = components[
And the showHeader changes to true, but the times it fails the rectangle is not seen. Seems indeed as if we're missing some last repaint of something :-S