Sébastien Weber

Results 18 comments of Sébastien Weber

I'm a bit lost here, has my PR on the subject been merged?

> I'm a bit lost here, has my PR on the subject been merged? actually yes it is the #999 @FlyingCurryMonster did you use an earlier version of pymeasure without...

I agree with your comment but somehow something seems to be wrong on the qt side. I think the sizehint is often wrong as many times the labels within a...

running this minimal example reproduce the result: ``` if __name__ == '__main__': import sys app = QtWidgets.QApplication(sys.argv) label = VerticalLabel('mysuperlabel', orientation='hor') label.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop | QtCore.Qt.AlignmentFlag.AlignHCenter) f = label.font() f.setPixelSize(25) label.setFont(f) label.show()...

Allright I found out the bug, in fact the sizeHint method is never called during the label creation, therefore the size cannot be set to the boundingrect as discussed above....

well it seems however that the styling in the DockLabel is messing up things also, there is a border width (bottom) in there that is hard coded to 2pxl and...

@j9ac9k could you have a look at what I dug out?