> On Feb. 20, 2016, 6:10 p.m., Aleix Pol Gonzalez wrote: > > applets/notes/package/contents/ui/main.qml, line 48 > > <https://git.reviewboard.kde.org/r/127124/diff/1/?file=444742#file444742line48> > > > > That's a hack, you shouldn't rely on such made up values. > > > > try: > > Plasmoid.switchWidth: Math.max(units.gridUnit * 13, > > fontButtons.Layout.preferredWidth)
I know I shouldn't rely on magic numbers, but I couldn't think of a better solution for it. I like your solution because it gives a bit more flexibility. It works as expected. - Viorel-Cătălin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127124/#review92582 ----------------------------------------------------------- On Feb. 20, 2016, 11:37 p.m., Viorel-Cătălin Răpițeanu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/127124/ > ----------------------------------------------------------- > > (Updated Feb. 20, 2016, 11:37 p.m.) > > > Review request for Plasma, Aleix Pol Gonzalez, Dominik Haumann, and Sebastian > Kügler. > > > Repository: kdeplasma-addons > > > Description > ------- > > When resizing the notes applet to the minimum size, the 'Notes Settings' > button was leaking when hovered. > >  > > > Diffs > ----- > > applets/notes/package/contents/ui/main.qml e3f2099 > > Diff: https://git.reviewboard.kde.org/r/127124/diff/ > > > Testing > ------- > > The testing was done locally by installing the modified version. The minimum > size doesn't allow the buttons to leak anymore. > > > Thanks, > > Viorel-Cătălin Răpițeanu > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel