← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~orangeshirt/openlp/bibles into lp:openlp

 

> No I couldn't.
> Otherwise if I have a bible which only contain the New Testament, there will
> be much space before the first Label & LineEdit is visible.
> And at the End the same. If the bible doesn't contain apocrypha.
> I tried it before you ask me to change it and after.
> That's why I use hide only for scrollArea.
> If there is an other possibility please tell me.

Oh, I didn't knew, that there is this bug in the QFormLayout (other Layouts aren't doing that).

One solution would be: self.bookNameWidgetLayout.setVerticalSpacing(0) . For your list I don't think, that there is any advantage of the additional space assigned by the layout.

In case you prefere the lavish layout, you there are two possible ways: You can just replace the .setParent(None) with .hide(). The other option would be to keep .setParent(None). In that case you don't need the .removeWidget() and I prefere an additional small comment.
-- 
https://code.launchpad.net/~orangeshirt/openlp/bibles/+merge/101138
Your team OpenLP Core is subscribed to branch lp:openlp.


References