On Tuesday 03 August 2010, Glenn Wurster wrote:
> Greetings,
> 
> I've been attempting to develop a Plasma applet using Python.  I'm having
> an issue, however, with the height of the Plasma::TreeView being
> artificially constrained if I embed it in a Plasma::TabBar.  If I put the
> TreeView directly onto the plasma applet without the TabBar, the height of
> the TreeView expands to take up all available space in the window.  If,
> instead, I place the TreeView in a TabBar, the height of the TreeView will
> not expand past a certain point (the width does not seem similarly
> constrained).  I've tried setting the maximum height on both TabBar and
> the inner TreeView element (using setMaximumHeight) to no avail.

you can try to set the vertical size policy of the treeview to Expanding

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to