Relative Content

Tag Archive for qtpyqt5qt-designer

How to margin text in Textedit with Stylesheet on Qt

I have a project that uses PyQt5 to create a GUI. I used StyleSheet to change the widget appearance. Everything is fine but there is only 1 thing
It’s not okay. It’s about left and center margin of the text in the textbox. I tried looking on stackoverflow and the Qt forum but didn’t see anyone who had a way to margin the text.
This is image my GUI: