Recent

Author Topic: Custom theme  (Read 2215 times)

Zaher

  • Hero Member
  • *****
  • Posts: 683
    • parmaja.org
Custom theme
« on: January 14, 2016, 07:22:09 pm »
Can we change the theme of the application, to customize it?
I want make it dark for example (Menu, Toolbar), i have tried to change the color property but that not effect on toolbar and menus.

Thanks

Graeme

  • Hero Member
  • *****
  • Posts: 1440
    • Graeme on the web
Re: Custom theme
« Reply #1 on: January 15, 2016, 12:38:22 am »
No, LCL is built to adhere to the underlying toolkit's golabl theme. So that would be the current theme GTK2/3 is set at globally. Same goes for Qt and Win32/64 I believe.

If you want custom themes in your application, use a custom written GUI toolkit like fpGUI. There themeing is really easy.

Here is a state of standard themes included with fpGUI (note: not LCL-fpGUI):
  http://geldenhuys.co.uk/~graemeg/themes/start.html
 
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Zaher

  • Hero Member
  • *****
  • Posts: 683
    • parmaja.org
Re: Custom theme
« Reply #2 on: January 15, 2016, 01:07:08 pm »
Thank you Geaeme

I have project built on lazarus, i want to follow the new fashion of new editors :)
is that easy to convert it to use fpGUI?

 

TinyPortal © 2005-2018