From kde-panel-devel Mon Oct 29 19:58:07 2012 From: Marco Martin Date: Mon, 29 Oct 2012 19:58:07 +0000 To: kde-panel-devel Subject: Re: Wrong plasmoid size on taskbar Message-Id: <201210292058.07723.notmart () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=135154070101573 On Sunday 28 October 2012, Nicolas Vinot wrote: > Hi everybody, > > I'm writing a new declarative plasmoid, but I have some trouble with size > in taskbar. > When placed on desktop, no problem, it size is correct, but on taskbar, > size is just wider than a button : > http://img15.hostingpics.net/pics/130396pomodoro.png > > Corresponding code is here : https://gist.github.com/3968357 > > Is there any way to define the size of the widget in taskbar ? defining property int minimumWidth property int minimumHeight in the root element. however pay attention that if the formfactor is horizontal (ie horizontal panels) minimum height should always be 0 or anyways a very small value (same thing for with in vertical formfactor, ie vertical panels) Cheers, Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel