Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Are TPanel/TForm/TFrame getting dark OS theme?
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TvPlanit - party: How to ...
by
wp
[August 10, 2022, 11:38:11 pm]
How to dock forms into a ...
by
LeoBruno
[August 10, 2022, 11:06:30 pm]
How to get message from S...
by
MarkMLl
[August 10, 2022, 10:00:28 pm]
Does Freepascal has every...
by
marcov
[August 10, 2022, 09:37:37 pm]
How to solve this synapse...
by
Hartmut
[August 10, 2022, 07:22:32 pm]
How to solve synapse Erro...
by
Hartmut
[August 10, 2022, 07:20:43 pm]
is italian language edito...
by
AlexTP
[August 10, 2022, 07:19:43 pm]
VST navigator
by
Pe3s
[August 10, 2022, 07:08:45 pm]
Strange error with arccos...
by
Paolo
[August 10, 2022, 07:00:19 pm]
IntToHex on negative numb...
by
Bart
[August 10, 2022, 06:08:58 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Are TPanel/TForm/TFrame getting dark OS theme? (Read 689 times)
AlexTP
Hero Member
Posts: 1843
Are TPanel/TForm/TFrame getting dark OS theme?
«
on:
February 25, 2022, 07:37:24 pm »
Because of this user report
https://github.com/Alexey-T/CudaText/issues/3975
I am asking:
- is TPanel automatically getting OS dark theme? Seems not yet
- is TForm also getting it? Seems yes.
- what about TFrame?
- what about TButton/TSpeedButton? screenshot from user shows that buttons are not getting dark theme, but button's font becomes light.
PS. I don't have modern Mac to test it..
«
Last Edit: February 25, 2022, 07:44:19 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
jwdietrich
Hero Member
Posts: 1197
Re: Are TPanel/TForm/TFrame getting dark OS theme?
«
Reply #1 on:
February 25, 2022, 08:07:11 pm »
It depends on the settings of certain properties in the object inspector. If colours are set to default then the dark theme is supported.
Logged
function GetRandomNumber: integer; // xkcd.com
begin
GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;
http://www.formatio-reticularis.de
Lazarus 2.0.12 | FPC 3.2.0 | PPC, Intel, ARM | macOS, Windows, Linux
AlexTP
Hero Member
Posts: 1843
Re: Are TPanel/TForm/TFrame getting dark OS theme?
«
Reply #2 on:
February 25, 2022, 08:13:15 pm »
Quote
If colours are set to default then the dark theme is supported.
i am seeing the opposite for TPanel. in my project TPanel has default color (code don't change the BG color at all) and Panel is light on dark theme.
EDIT. i see the opposite for __TForm__.
«
Last Edit: February 25, 2022, 08:15:36 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Are TPanel/TForm/TFrame getting dark OS theme?
TinyPortal
© 2005-2018