Bug 307506

Summary: Plasma QML Component TextArea doesn't recognize horizontalAlignment and verticalAlignment properties
Product: [Unmaintained] plasma4 Reporter: Romário Rios <luizromario>
Component: qml-componentsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version: 4.9-git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Romário Rios 2012-09-27 23:19:25 UTC
The QML Plasma Component TextArea doesn't react to, at least, the horizontalAlignment, verticalAlignment and font.bold properties like, for example, the Qt component TextEdit.

Reproducible: Always

Steps to Reproduce:
1.Create a QML plasmoid which main Item is a TextArea
2.Assign the following properties:
 * horizontalAlignment: TextEdit.AlignRight
 * verticalAlignment: TextEdit.AlignVCenter
 * font.bold: true
3. Run it
Actual Results:  
The text remains unchanged.

Expected Results:  
The text should be bold, aligned horizontally to the left and vertically to the center.
Comment 1 Myriam Schweingruber 2012-10-11 10:55:56 UTC
Please set the version for your report, else it is incomplete.
Comment 2 Romário Rios 2012-10-13 13:18:00 UTC
(In reply to comment #1)
> Please set the version for your report, else it is incomplete.

I spotted it in the compiled sources, so it's 4.9-git, I suppose?

And this was partially fixed: https://git.reviewboard.kde.org/r/106702/
Comment 3 Romário Rios 2012-10-13 14:09:27 UTC
It turns out that bold isn't a property of Font, so this is fixed.
Commit 912c70372b311da8ae35f4051219d67da4e65d76 fixes the issue.