'How to add horizontal scroll to QLabel?

I am making a calculator in PyQT and I have a QLabel with text overflow as shown below. I tried using overflow: scroll with QSS but as expected it is not supported.

Text overflow !

Is there a way I can scroll horizontally in a QLabel or do I have to use another widget ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source