|
|
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList color is the same when editable or not
DropList color is the same when editable or not [message #31924] |
Thu, 07 April 2011 18:33  |
 |
koldo
Messages: 3435 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
Now when DropList is not editable it has the same background color as if it is editable.
To solve this a possible way could be in method void MultiButton::Paint(Draw& w) to put this in line 412:
if(HasFocus()) {
paper = SColorHighlight();
text = SColorHighlightText();
} else if (!IsEditable()) // Added
paper = SColorFace(); // Added
else
paper = SColorPaper();
Best regards
Iñaki
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat May 10 13:46:04 CEST 2025
Total time taken to generate the page: 0.04009 seconds
|
|
|