D19077: Redesign the theme preview window

Marco Martin noreply at phabricator.kde.org
Tue Apr 2 16:04:50 BST 2019


mart added a comment.


  In D19077#422017 <https://phabricator.kde.org/D19077#422017>, @filipf wrote:
  
  > @mart could you help us out a bit please? I used code with "Kirigami.Theme.viewBackgroundColor.r", which throws out a warning that the value is deprecated. The one suggested for replacement (Theme.View) isn't the same as the deprecated one though. How bad would it be to leave the code with the deprecated value?
  
  
  that rectangle should havethe attached property:
  Rectangle {
  
    Kirigami.Theme.inherit: false
    Kirigami.Theme.colorSet: Kirigami.Theme.View
  
  }
  
  then, anywhere under this item you access Kirigami.Theme.backgroundColor and will be the background color of the view, because you defined it to use the color set for views.

REPOSITORY
  R123 SDDM Configuration Panel (KCM)

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

To: filipf, #plasma, #vdg, ngraham
Cc: mart, GB_2, mmustac, davidedmundson, abetts, rooty, plasma-devel, jraleigh, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190402/1deb9b32/attachment.html>


More information about the Plasma-devel mailing list