D8131: Deprecate Kirigami.Label

Marco Martin noreply at phabricator.kde.org
Wed Oct 4 09:49:55 UTC 2017


mart added inline comments.

INLINE COMMENTS

> Label.qml:38
>   */
> -T2.Label {
> -    id: root
> -
> -    height: Math.round(Math.max(paintedHeight, Units.gridUnit * 1.6))
> -    verticalAlignment: lineCount > 1 ? Text.AlignTop : Text.AlignVCenter
> -
> -    activeFocusOnTab: false
> -    renderType: Settings.isMobile || Window.devicePixelRatio % 2 != 0 ? Text.QtRendering : Text.NativeRendering
> -
> -    font.capitalization: Theme.defaultFont.capitalization
> -    font.family: Theme.defaultFont.family
> -    font.italic: Theme.defaultFont.italic
> -    font.letterSpacing: Theme.defaultFont.letterSpacing
> -    font.pointSize: Theme.defaultFont.pointSize
> -    font.strikeout: Theme.defaultFont.strikeout
> -    font.underline: Theme.defaultFont.underline
> -    font.weight: Theme.defaultFont.weight
> -    font.wordSpacing: Theme.defaultFont.wordSpacing
> -    color: Theme.textColor
> -
> -    opacity: enabled? 1 : 0.6
> -
> -    Accessible.role: Accessible.StaticText
> -    Accessible.name: text
> -}
> +Controls.Label {}

in order to make it very explicit that's deprecated, i would like  a print in component.oncompleted warning not to use it

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D8131

To: davidedmundson, #plasma
Cc: mart, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, davidedmundson, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171004/77a5bfcc/attachment-0001.html>


More information about the Plasma-devel mailing list