Hi Juan,
Some time ago I remember you provided me this stylesheet to create a sunken label.
This works ok, but has one very minor issue on retina Mac. The label appears aligned 1px to high, so the baseline of the text within the Label ending being 1px higher than adjacent plain labeling: text to the left of the Label.
Is there a solution?
this.addValue = function(pane, text, toolTip) {
var value = new Label(this);
pane.add(value);
value.setFixedWidth(this.editWidth);
value.text = text;
value.toolTip = toolTip;
value.styleSheet = this.scaledStyleSheet("QLabel {" +
"border-top: 1px solid gray;" +
"border-left: 1px solid gray;" +
"border-bottom: 1px solid white;" +
"border-right: 1px solid white;" +
"}");
return value;
};