Skip to content

Commit

Permalink
Replace .png with .webp
Browse files Browse the repository at this point in the history
  • Loading branch information
MahBoiDeveloper committed Apr 22, 2024
1 parent b2e031d commit d7cb1a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added src/GUI/icons/EditorBackground.webp
Binary file not shown.
Binary file removed src/GUI/icons/StartMenuBackground.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/Styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ QComboBox::drop-down
padding-left: 10px;
}

QComboBox::down-arrow, QSpinBox::down-arrow, QTimeEdit::down-arrow, QDateEdit::down-arrow
QComboBox::down-arrow
{
image: url(:/icons/down_arrow.png);
}
Expand All @@ -55,7 +55,7 @@ LoadDialog, LaunchWidget, CreationDialog
{
/* background: center no-repeat url(Resources/Icons/StartMenuBackground.png); */
/* Watch at https://forum.qt.io/topic/40151/solved-scaled-background-image-using-stylesheet/3 */
border-image: url(Resources/Icons/StartMenuBackground.png) 0 0 0 0 stretch stretch;
border-image: url(Resources/Icons/StartMenuBackground.webp) 0 0 0 0 stretch stretch;
background-color: black;
}

Expand Down Expand Up @@ -104,7 +104,7 @@ QPushButton#btnReview
HotkeysMainWindow
{
/* Watch at https://forum.qt.io/topic/40151/solved-scaled-background-image-using-stylesheet/3 */
border-image: url(Resources/Icons/StartMenuBackground.png) 0 0 0 0 stretch stretch;
border-image: url(Resources/Icons/EditorBackground.webp) 0 0 0 0 stretch stretch;
background-color: black;
}

Expand Down

0 comments on commit d7cb1a1

Please sign in to comment.