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 <[email protected]> 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
Index: .
===================================================================
--- . (gözden geçirme 46982)
+++ . (çalıÅan kopya)
@@ -3265,7 +3265,8 @@
Check := tbCheckBoxUncheckedNormal;
Details := ThemeServices.GetElementDetails(Check);
Sz := ThemeServices.GetDetailSize(Details);
- Inc(BRect.Top, 3);
+ if(pedsSelected in AState) or (pedsFocused in AState)then //FreeMan
+ Inc(BRect.Top, 3);
BRect.Right := BRect.Left + Sz.cx;
BRect.Bottom := BRect.Top + Sz.cy;
ThemeServices.DrawElement(ACanvas.Handle, Details, BRect, nil);
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus