[Lazarus] Control view style 3D?

Henry Vermaak henry.vermaak at gmail.com
Tue Nov 9 19:08:02 CET 2010


On 9 November 2010 17:59, Bo Berglund <bo.berglund at gmail.com> wrote:
> On Tue, 09 Nov 2010 09:19:05 +0100, Andreas Schneider <aksdb at gmx.de>
> wrote:
>
>>
>>On Tue, 09 Nov 2010 08:34:30 +0100, Bo Berglund <bo.berglund at gmail.com>
>>wrote:
>>> I am new to Lazarus but I have noted that the controls I put on a form
>>> look very "flat"...
>>> I am used to having sunken controls, but there seems to be no place to
>>> set such a property. Am I missing something here?
>>> The application now looks like a Java app. :-(
>>>
>>
>>Which controls, which widgetset and which OS?
>
> Hmm, I thougt that the idea behind FPC/Lazarus was that you "write
> once compile everywhere" and then the question of OS becomes moot.

That's the idea.  The reason he asks is because your original question
is so vague that we need some more info to look somewhere.  For
instance, some gtk2 themes do look flat, so that would be normal.

> The controls I put on my form were simply a TButton and 3 TEdits.
> I am testing Lazarus on a WinXP virtual machine at the moment because
> I am used to Windows. But the target eventually will be Linux (Debian)
> on an embedded card with a touch LCD screen.

In windows, the lcl uses native winapi to draw most components, so
they should look like all the buttons and edits on your system.  On my
winxp machine the buttons and edits are definitely not flat.

> But your comment indicates to me that the "compile everywhere" is not
> working to create an application that looks the same everywhere...

Now that is a ridiculous assumption.  He just asked for more information.

Show us some screenshots of how it looks now and how you want it to look.

Henry




More information about the Lazarus mailing list