Bug 307506 - Plasma QML Component TextArea doesn't recognize horizontalAlignment and verticalAlignment properties
Summary: Plasma QML Component TextArea doesn't recognize horizontalAlignment and verti...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: qml-components (show other bugs)
Version: 4.9-git
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 23:19 UTC by Romário Rios
Modified: 2012-10-13 14:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.