[Lazarus] OI Checkboxes

FreeMan freeman35 at delphiturkiye.com
Tue Nov 25 16:25:21 CET 2014


IMO this is not from themes,  I tested more in 4 themes. I'm use "air 
for netbooks" I tested in "air", "oxygen" "Tibanna" and I forget names 
more two, I deleted. viewing not changed.Always non selected row's 
square lines 1-2 pixcels down, but text is normal.
I tested in "Windows decoration"(My kubuntu is Turkis so maybe translate 
not good) result not changed.

IMO, problem is, when focused, drawing blue lines after square lines. 
for effect for focusing. This drawing second blue square lines not 
calculate on non focused. this effect,  moves text to left - right too.

I attach my solution, this is work on my system, need test others. need 
some improve, text flicking still.


On 25-11-2014 13:55, Juha Manninen wrote:
> On Tue, Nov 25, 2014 at 12:45 PM, Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:
>> This is not Linux-Qt related, this is Oxygen related. Other themes work OK.
>> Hardcoding 1 or 2 pixels is IMO not good idea, it may cause troubles
>> elsewhere.
>> [...]
> It is good to have somebody who understands the issue. :)
>
>
>> However, I didn't see code of OICheckBoxes, so I cannot say where is
>> problem.
> procedure TBoolPropertyEditor.PropDrawValue in unit
> components/ideintf/propedits.pp.
> Implemented in r46881.
>
> Regards,
> Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141125/60fee881/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OICheckbox.diff
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141125/60fee881/attachment-0003.bin>


More information about the Lazarus mailing list