[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 228697] [testcase] form's textarea size patch
From:       Andrea Iacovitti <aiacovitti () libero ! it>
Date:       2010-03-06 10:24:50
Message-ID: 20100306102450.A7FC335733 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=228697





--- Comment #9 from Andrea Iacovitti <aiacovitti libero it>  2010-03-06 11:24:47 ---
I did further tests using oxygen and plastique style.
About VSize:
It seems value returned by m.lineSpacing() is wrong, it gives
(<REAL>linespacing - 1) on oxygen style and (<REAL>linespacing + 1) on
plastique style, taking  this into account i obtained the correct vertical
size; then (if confirmed) the bug is in the style (or QT?) and not in the
algorithm for calculating the size.
About HSize:
With oxygen style, a 0.3 horizontal fudge adds few extra pixel to the width:
+3px,+5px,+8px , depending on textarea font size (see my previous testcase)
when not touching default konqueror font size settings: it seems acceptable to
me.
May the threshold that trigger up the HScrollbar, in case nowrap, is wrongly
too strict, in QT?
Instead for plastique style no extra fudge is needed....

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic