[Lazarus] Color setup of the Form1: TForm1
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Jun 18 15:10:43 CEST 2008
2008/6/17 Henry Vermaak <henry.vermaak at gmail.com>:
>
> the themes in linux control everything about the widgets, that means
> everything on my desktop looks the same (not in terms of application
> design, but buttons, scrollbars, borders, colours of active/inactive
> titlebars, shades, translucency, etc).
The X Toolkit does not adhere to the GTK or Qt themes. Neither does
FVWM window manager applications or many others for that matter.
eg: Run 'xfontsel' or 'xmag' or 'xcalc' or the well know font creation
tool 'fontforge'. They look nothing like GTK or Qt.
> if you need a custom look, you either need to build a themeing engine
> into lazarus, or write a gtkrc file for your app (the right way, imo).
> then you can control everything. if you just need a colour for your
> form, doesn't a panel work? (coloured panels work for me in gtk2, at
> least).
Why must I create a complete theme engine simple to customize the look
of my application. Applications like WinAmp Windows Media Player or
even the little application called Microsoft Office create there own
looks without adhering to the current window managers themes. I (and
a few others) simply tried to do the same, but the LCL under Linux
doesn't allow for that.
eg: One of our products are designed for kids, so it has bigger
buttons, colorful display etc... That worked fine under Delphi and
Windows, but we can't port that to Linux using the LCL.
Form Validation Feedback is another use of non-standard look. We often
change the color of a EditBox or some other control if the user
entered incorrect or missing required information. At one point this
was also not possible under Linux with LCL.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list