Niamita
19th March 2012, 12:17
Hi
I am using following code to increase height and width of down arrow of a dateedit, but height and width not getting increase.
date->setStyleSheet("QDateEdit{color: rgb(131, 64, 0, 255);border: 1px solid gray; border-radius: 5px; background-color:qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:1 rgba(200, 200, 200, 255), stop:0.107955 rgba(200, 200, 200, 10))}QDateEdit::down-arrow{width: 20px; height: 20px}");
What i am doing wrong.
I am using following code to increase height and width of down arrow of a dateedit, but height and width not getting increase.
date->setStyleSheet("QDateEdit{color: rgb(131, 64, 0, 255);border: 1px solid gray; border-radius: 5px; background-color:qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:1 rgba(200, 200, 200, 255), stop:0.107955 rgba(200, 200, 200, 10))}QDateEdit::down-arrow{width: 20px; height: 20px}");
What i am doing wrong.