Style sheet working well on all platfors except Android
G'Day!
I have an old widget app that I want to port over to Android but the stylesheet is giving me trouble.
I have a custom style sheet that I used to make the app look good and be usable on my Blackberry. It works great on my BB10 and on my linux desktop (fedora 21 Gnome3) but on my droid 4.3 device the styled spin boxes and tab widget don't appear.
Here is my stylesheet code. I put it in the style sheet area for the QTabQidget in the UI editor on creator (Qt5.4).
Code:
height:6ex;
}
width: 6ex;
background-color: "light grey";
image: url(:/prefix1/images/upArrow.svg);
}
width: 6ex;
background-color: "light grey";
image: url(:/prefix1/images/downArrow.svg);
}
border-width: 5px;
padding:6px
}
image: url(:/prefix1/images/rightArrowG.svg);
background-color: "light gray";
}
image: url(:/prefix1/images/leftArrowG.svg);
background-color: "light gray";
}
height: 6ex;
border: 2px solid #C4C4C3;
border-bottom-color: #C2C7CB; /* same as the pane color */
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 8ex;
padding: 2px;
}
width: 7ex;
border-width: 6ex;
}
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}
border-color: #9B9B9B;
border-bottom-color: #C2C7CB; /* same as pane color */
}
Can anybody see where I may be going wrong there?
I thought at first it was a problem with the svg's loading but even if I dont load the custom images it behaves the same way...
I am thinking this may be a bug rather than my incompetence... :)
Any insight or advice would be appreciated!
Cheers,
Jon
Re: Style sheet working well on all platfors except Android