itom-project / itom

itom core repository
https://itom-project.github.io/
Other
14 stars 5 forks source link

Wrapper for gridLayouts setContentsMargins. #275

Closed twip-os closed 6 months ago

twip-os commented 8 months ago

Since QT6 the "margin" property of the QGridLayout is missing. The contentsMargins property is of QMargins type which can not be used in itom. This wrapper around setContentsMargins enables setting the margins from itom with QT6.

magro11 commented 6 months ago

Unfortunately I was not informed by this PR such that I only have seen it today.

Two questions:

twip-os commented 6 months ago

You're completely right. It works with the method from QLayout. No idea why I thought this did not work. So this can be closed. Thank you.