skip to Main Content

How to change size of the pixmap image in PyQt4? – Photoshop

first_row = QtGui.QHBoxLayout() setings_search = QtGui.QVBoxLayout() search_label = QtGui.QLabel() search_pixmap = QtGui.QPixmap() search_pixmap.load('search.png') #search_pixmap.scaledToWidth(130) #search_pixmap.scaledToHeight(130) search_label.setPixmap(search_pixmap) setings_search.addWidget(search_label) first_row.addLayout(setings_search) The image doesn't resize when I use both scaled and scaledToWidth/Heigth methods. my window On the picture I've shown what I already…

VIEW QUESTION
Back To Top
Search