GuS
28th May 2008, 18:09
Hi!
I have weird problem styleling QGroupBox, specially on border-color.
Actually i have:
QGroupBox {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #e6e6e6, stop: 0.8 #e6e6e6, stop: 1 transparent);
border-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #b4b4b4, stop: 0.8 #b4b4b4, stop: 1 transparent);
border-width: 1px; \
border-style: solid; \
border-radius: 5px;}
Now, the end (bottom) of the gradient of the border has a weird effect.
Attached image.
Any tip?
EDIT: seems this behavior occurs with all widgets, but only on border-color using gradients with qlineargradient.
Cheers.
I have weird problem styleling QGroupBox, specially on border-color.
Actually i have:
QGroupBox {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #e6e6e6, stop: 0.8 #e6e6e6, stop: 1 transparent);
border-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #b4b4b4, stop: 0.8 #b4b4b4, stop: 1 transparent);
border-width: 1px; \
border-style: solid; \
border-radius: 5px;}
Now, the end (bottom) of the gradient of the border has a weird effect.
Attached image.
Any tip?
EDIT: seems this behavior occurs with all widgets, but only on border-color using gradients with qlineargradient.
Cheers.