chnage the object name

This commit is contained in:
Jakub Trllo 2022-10-31 18:47:39 +01:00
parent 33178d1570
commit 78a725ca26
2 changed files with 3 additions and 3 deletions

View file

@ -896,11 +896,11 @@ PixmapButton:disabled {
background: {color:bg-buttons-disabled};
}
#PixmapHoverButton {
#ThumbnailPixmapHoverButton {
font-size: 11pt;
background: {color:bg-view};
}
#PixmapHoverButton:hover {
#ThumbnailPixmapHoverButton:hover {
background: {color:bg-button-hover};
}

View file

@ -299,7 +299,7 @@ class ThumbnailWidget(QtWidgets.QWidget):
clear_pix = paint_image_with_color(clear_image, icon_color)
clear_button = PixmapButton(clear_pix, buttons_widget)
clear_button.setObjectName("PixmapHoverButton")
clear_button.setObjectName("ThumbnailPixmapHoverButton")
buttons_layout = QtWidgets.QHBoxLayout(buttons_widget)
buttons_layout.setContentsMargins(3, 3, 3, 3)