@@ -28,6 +28,14 @@ var kBackgroundLoaderCode = 'Loader {\n\
28 sourceComponent: UbuntuShape { \n\
28 sourceComponent: UbuntuShape { \n\
29 objectName: "background"; \n\
29 objectName: "background"; \n\
30 radius: "medium"; \n\
30 radius: "medium"; \n\
32+ switch (root.backgroundShapeStyle) { \n\
33+ case "inset": return UbuntuShape.Inset; \n\
34+ case "shadow": return UbuntuShape.DropShadow; \n\
36+ case "flat": return UbuntuShape.Flat; \n\
31 backgroundColor: getColor(0) || "white"; \n\
39 backgroundColor: getColor(0) || "white"; \n\
32 secondaryBackgroundColor: getColor(1) || backgroundColor; \n\
40 secondaryBackgroundColor: getColor(1) || backgroundColor; \n\
33 backgroundMode: UbuntuShape.VerticalGradient; \n\
41 backgroundMode: UbuntuShape.VerticalGradient; \n\
@@ -318,6 +326,7 @@ function cardString(template, components) {
318 property var components; \n\
326 property var components; \n\
319 property var cardData; \n\
327 property var cardData; \n\
320 property string artShapeStyle: "inset"; \n\
328 property string artShapeStyle: "inset"; \n\
329+ property string backgroundShapeStyle: "inset"; \n\
321 property real fontScale: 1.0; \n\
330 property real fontScale: 1.0; \n\
322 property var scopeStyle: null; \n\
331 property var scopeStyle: null; \n\
323 property int titleAlignment: Text.AlignLeft; \n\
332 property int titleAlignment: Text.AlignLeft; \n\