Documentation of Label does not mention textSize

Bug #1585585 reported by Michal Predotka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Client Developer Experience
New
Undecided
Unassigned
Ubuntu Developer Portal
Invalid
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
High
Andrea Bernabei

Bug Description

There's no mention about 'textSize' property in 'Label' documentation. Instead there's 'fontSize' property which AFAIK is not advised to use any more.
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/Ubuntu.Components.Label/

There's a documentation for 'LabelBase' with 'textSize' mentioned but from what @faenil said on Telegram, 'LabelBase' does not exist as a component.
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/Ubuntu.Components.LabelBase/

Related branches

Revision history for this message
Andrea Bernabei (faenil) wrote :

thanks for reporting this :)

Yes, after a quick investigation it looks like a simple typo in UCLabel.cpp, which led to the creation of the LabelBase documentation page, even though there's no LabelBase component.

I'll fix it asap :)

Andrea Bernabei (faenil)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andrea Bernabei (faenil)
status: In Progress → Fix Committed
Changed in developer-ubuntu-com:
status: New → Invalid
Andrea Bernabei (faenil)
affects: canonical-devices-system-image → canonical-developer-experience
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1988+16.10.20160601

---------------
ubuntu-ui-toolkit (1.3.1988+16.10.20160601) yakkety; urgency=medium

  [ Christian Dywan ]
  * UCAbstractButton needs to accept key release events. Fixes LP: #1581026

  [ Andrea Bernabei ]
  * Documentation: fix missing or outdated imports in QML modules (Popups,
    Pickers, Themes, ListItems), misuse of qdoc API and similar.
    Fixes LP: #1570156, LP: #1585557, LP: #1585585, LP: #1585591.
  * tst_slotslayout: tentative fix for a very rare CI failure.
    Fixes LP: #1571426

  [ Tarmac, Zoltán Balogh ]
  * OTA12-2016-06-01

 -- Zoltan Balogh <email address hidden> Wed, 01 Jun 2016 11:52:35 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.