D8526: add a background in ScrollView

Marco Martin noreply at phabricator.kde.org
Thu Nov 16 14:54:03 UTC 2017


mart added a comment.


  In https://phabricator.kde.org/D8526#168377, @davidedmundson wrote:
  
  > > so, may be worth to have in kirigami a component called like ItemScrollView intended for this?
  >
  > I think so.
  >  The component can be just one line of ScrollView{}, and the styles can do something like
  
  
  hmm, tough if is in Kirigami i can't really use the desktop style private plugin to paint it, or would be cross dependency?
  
  > if typeOf(control) == "ItemView"
  
  afaik typeof doesn't work there, all qml item will just return "Object", so the only way is to testing the presence of some properties and hope it goes well :/

REPOSITORY
  R858 Qt Quick Controls 2: Desktop Style

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

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


More information about the Plasma-devel mailing list