Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
a22050dd
Commit
a22050dd
authored
Feb 01, 2015
by
Željan Rikalo
🏊🏼
Browse files
Qt: fixed themed drawing of disabled combobox. issue
#27381
git-svn-id: trunk@47578 -
parent
d78c839b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lcl/interfaces/qt/qtthemes.pas
View file @
a22050dd
...
...
@@ -286,6 +286,17 @@ begin
opt
:=
QStyleOptionComboBox_create
();
if
Element
.
Features
=
Ord
(
QtRightToLeft
)
then
QStyleOption_setDirection
(
opt
,
QtRightToLeft
);
if
Details
.
State
in
[
CBXS_DISABLED
]
then
begin
APalette
:=
QPalette_create
();
try
QStyleOption_palette
(
opt
,
APalette
);
QPalette_setCurrentColorGroup
(
APalette
,
QPaletteDisabled
);
QStyleOption_setPalette
(
opt
,
APalette
);
finally
QPalette_destroy
(
APalette
);
end
;
end
;
end
;
QStyleCC_SpinBox
:
begin
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#27381 (closed)
·
Jul 28, 2021
mentioned in issue
#27381 (closed)
mentioned in issue #27381
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment