Recent

Author Topic: Best way of making Color Themes for GUI (skins)  (Read 840 times)

GBR

  • Newbie
  • Posts: 1
Best way of making Color Themes for GUI (skins)
« on: July 31, 2025, 02:06:18 am »
Hello!

I'm coming back to my older project in Lazarus - simple program with stadard GUI (TButtons, TLabels, TEdits, TRadioButtons, TGruopBoxes). The GUI is quite grey and boring, I would like to add option to choose some skins, which would recolor/restyle all components and frame.
I'm coming back from JS, CSS background and I'm kinda noticing how limited GUI appearance options are limited in Lazarus...( sorry if I offended anyone). So I'm kinda lost, because changing many visual properties, like changing colors of standard TButton doesn't work, or TGroupBox background color can be changed, but it's title background remains always white.

So what is the best way of creating theme(skin) for GUI and which components to use?

dseligo

  • Hero Member
  • *****
  • Posts: 1601
Re: Best way of making Color Themes for GUI (skins)
« Reply #1 on: July 31, 2025, 02:49:32 am »
Check this thread, you should get few ideas: https://forum.lazarus.freepascal.org/index.php/topic,36502.0.html

jamie

  • Hero Member
  • *****
  • Posts: 7310
The only true wisdom is knowing you know nothing

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12535
  • FPC developer.
Re: Best way of making Color Themes for GUI (skins)
« Reply #3 on: July 31, 2025, 09:42:30 am »
You can try to see if the underlying widgetset has customizable theme options.

 

TinyPortal © 2005-2018