[PATCH] make context drawer smaller

Sebastian Kügler sebas at kde.org
Mon Feb 15 11:53:37 UTC 2016


On Monday, February 15, 2016 12:00:00 PM Marco Martin wrote:
> On Sunday 14 February 2016, Dirk Hohndel wrote:
> > This is an odd one. Not sure what the logic was behind that, but with the
> > existing code on most phones the context drawer takes up the complete
> > screen which makes it look really weird.
> >
> > 
> 
> not sure about this, we had text in context drawer not fittin in the column
> in  the past.
> It should actually be based upon the length of the entries text, but it's
> not  really possible to know the actual size hints of a listview (almost
> leaning making it a repeater)
> 
> I would keep this very big, but on the other hand since it's only an
> "hint",  make sire the final overlay is never ~70/80% of the screen width

I think limiting it to, say, 70% of the root item would make sense. I've fixed 
this thing in both ways already (and it's still not making us really happy).
-- 
sebas

http://www.kde.org | http://vizZzion.org


More information about the Plasma-devel mailing list