[Lazarus] TEditButton alignment

Flávio Etrusco flavio.etrusco at gmail.com
Tue Mar 19 07:22:51 CET 2013


On Mon, Mar 18, 2013 at 6:51 PM, Juha Manninen
<juha.manninen62 at gmail.com> wrote:
> On Mon, Mar 18, 2013 at 11:41 PM, Flávio Etrusco
> <flavio.etrusco at gmail.com> wrote:
>> I had a patch which fixed alignment problems (I know of) by making the
>> margin calculation virtual and placing the button inside/over the edit
>> bounds (increasing the margin accordingly). I don't think I have it
>> around anymore but the approach was quite simple anyway.
>
> Making margin calculation virtual where? In TCustomEdit?
>
> Does it require code in the widgetset level?
>
> Juha


It was something like this (patch attached).

Best regards,
Flávio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buttonedit.patch
Type: application/octet-stream
Size: 12081 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130319/dee660a0/attachment-0003.obj>


More information about the Lazarus mailing list