D20969: [potd] Modernize configuration settings

Filip Fila noreply at phabricator.kde.org
Fri May 3 20:03:00 BST 2019


filipf added a comment.


  In D20969#460433 <https://phabricator.kde.org/D20969#460433>, @ngraham wrote:
  
  > Nice job. But I shudder to think of how long this string must be in German or Brazilian Portuguese:
  >  F6806865: Screenshot_20190503_123158.png <https://phabricator.kde.org/F6806865>
  
  
  We need to set a maximum width. Here's what I can do:
  
  1. put the combobox in a RowLayout
  2. go to ConfigurationContainmentAppearance.qml and give an ID to the "Get New Plugins..." button
  3. now set Combobox's `Layout.maximumWidth` property to: `pluginCombobox.width + newPluginsCombobox.width + units.smallSpacing`
  
  End result:
  F6806902: image.png <https://phabricator.kde.org/F6806902>

REPOSITORY
  R114 Plasma Addons

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

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


More information about the Plasma-devel mailing list