[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [frameworks-plasma] [Bug 346718] New: Ill sized TextArea when a font other then Oxygen is chosen
From: Mark <markg85 () gmail ! com>
Date: 2015-04-26 13:53:38
Message-ID: bug-346718-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=346718
Bug ID: 346718
Summary: Ill sized TextArea when a font other then Oxygen is
chosen
Product: frameworks-plasma
Version: 5.1.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: components
Assignee: notmart@gmail.com
Reporter: markg85@gmail.com
Hi,
Plasma 5 defaults to the Oxygen font. However, i find the Oxygen font to be
very poor. It's not sharp, makes all text look fuzzy... I'm sure that will all
get resolved in time, but till that happens i stay with bitstream vera or the
libration fonts.
Choosing another font has a little nasty side effect on the plasma text input
components. They look off. You can see the results in the screenshots. One is
with Oxygen set as the font, the other is with Bitstream Vera as font.
A partial fix is modifying the TextFieldStyle.qml component. It currently does
this in onCompleted:
Component.onCompleted: {
root.padding.left = base.margins.left
root.padding.top = base.margins.top
//TODO: if QtControls gets a component for this, use it instead of
this hardcoded heuristic
root.padding.right = base.margins.right + (control.clearButtonShown
? Math.max(control.parent.height*0.8, units.iconSizes.small)+units.smallSpacing
: 0)
root.padding.bottom = base.margins.bottom
}
If you remove the bottom and top padding rules, the font cursor is neatly in
the middle again. But that still means that the entire font input area is still
smaller (in height) then it would be with the oxygen font. I'm guessing the
actual fix would be in either that file (since it looks fine without that
style, but not oxygen like) or in how the implicit height and width is
calculated.
Reproducible: Always
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic