D18504: [plasma-nm/applet] Add right-click context menu to directly customize a connection

Nathaniel Graham noreply at phabricator.kde.org
Tue Feb 5 14:53:47 GMT 2019


ngraham added a comment.


  In D18504#405444 <https://phabricator.kde.org/D18504#405444>, @vpilo wrote:
  
  > In D18504#404332 <https://phabricator.kde.org/D18504#404332>, @Codezela wrote:
  >
  > > small tweak we can make the connection name in the context menu bold header msybe
  > >  because it look like disabled now
  > >  it looks strange to me
  > >  what do u think
  >
  >
  > I tried. Somehow, even if I should be able to, I can't access the `font` property. The applet fails to load.
  
  
  The problem is that you're using a disabled menu item for the title, which makes the font light automatically. Try setting `supportsMouseEvents: false` for it, and then you can style it however you want (+1 for bold, do `font.weight: Font.Bold` to get that)

REPOSITORY
  R116 Plasma Network Management Applet

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

To: vpilo, #vdg, jgrulich
Cc: Codezela, broulik, jgrulich, ngraham, abetts, GB_2, plasma-devel, jraleigh, 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/20190205/0219fb06/attachment.html>


More information about the Plasma-devel mailing list