N
N
nvlveu2020-12-20 07:40:34
PyQt
nvlveu, 2020-12-20 07:40:34

How to position a widget with maximum precision in PyQt5?

PyQt5's .setGeometry widget method accepts x, y, width, and height values ​​as integers. I need to position widgets with float value precision (e.g. .setGeometry(1.251, 4.6126, 8, 26.64)), which this method does not allow. How can this problem be solved?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question