D20370: [Folder View] Implement a user-configurable setting for label width

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Apr 8 15:57:57 BST 2019


broulik added inline comments.

INLINE COMMENTS

> ConfigIcons.qml:266
> +
> +            model: ListModel {
> +                ListElement { text: "Narrow" }

You can just use a JavaScript `Array`:

  model: [
      i18n("Narrow"),
      i18n("Medium"),
      i18n("Wide")
  ]

This way you can also use `i18n` for translation

REPOSITORY
  R119 Plasma Desktop

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

To: ngraham, hein, #plasma, #vdg
Cc: broulik, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190408/8e7a7137/attachment.html>


More information about the Plasma-devel mailing list