![](https://media.geeksforgeeks.org/wp-content/uploads/20200318005038/des2.png)
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
A computer science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
In this article, we will see how to add padding to our Label. Padding is just the space between the border and the content. Below is image of label this will helps in better understanding of the padding. In order to add padding to our label, we will use setStyleSheet()
![](https://miro.medium.com/v2/resize:fit:567/1*Z1Vnqo3ok25hZllHB1ua7w.png)
Address Book in Python using Tkinter, by Unnati Shah
How to add a GUI in a Python program - Quora
![](https://user-images.githubusercontent.com/55352169/201458836-8f1d6154-41a7-4597-9386-82da10c2f696.png)
Question/Enhancement] Is there any way to set Border Color for a Button · Issue #4909 · PySimpleGUI/PySimpleGUI · GitHub
![](https://image.slidesharecdn.com/pythonunit1-220305082826/85/python-unit1-18-320.jpg?cb=1668827022)
Python unit1
![](https://likegeeks.com/wp-content/uploads/2018/09/10-PyQt5-tutorial-QTableWidget-set-column-header-text.png)
PyQt5 tutorial - Python GUI programming examples
![](https://user-images.githubusercontent.com/2966015/53320620-c522f680-389b-11e9-89cd-3f4dfffd44b4.png)
PyQtGraph plot axes / labels get covered by QDarkStyle padding · Issue #134 · ColinDuquesnoy/QDarkStyleSheet · GitHub
![](https://img.youtube.com/vi/O6nnVHPjcJU/hqdefault.jpg)
Python - Video Summarizer - Page 4 - Glarity
![](https://static.javatpoint.com/python/images/create-a-modern-login-ui-using-the-customtkinter-module-in-python2.png)
Create a Modern login UI using the CustomTkinter Module in Python - Javatpoint
![](https://pythonpyqt.com/images/pyqt-qlabel.png)
PyQt label Learn Python PyQt