PyQt5 – Set skin to Status Bar
Unlike setting background images, skins adjust themselves according to the size of status bar. In background image if the image size is large and status bar size is small only that part of image is displayable that comprises the size of status bar. The main reason of setting skin to status bar is that, status bar height is comparatively smaller than the normal images that’s why instead of using background images skin is preferable.
Background and skin will look like this:
Syntax : self.statusBar().setStyleSheet(“border-image : url(skin.png);”)
Argument : It takes string as argument.
Action performed : It sets skin to status bar.
My Personal Notes arrow_drop_up
Please Login to comment...