mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[plasmalnf] Change to IgnoreAspectRatio
It is the distro's responsibility to produce screenshots that look good; previously I chose to preserve the aspect ratio on the grounds that this would keep the look of the screenshot even if the distro had done one in a weird size. This makes the screenshot part of the LNF selection look weird, though, since then you get blank parts. Switch to ignoring the aspect ration; distro's should produce screenshots in a 12x8 (i.e. 3:2) aspect ratio, preferrably at least 120x80 pixels -- but keep in mind hiDPI and the default font sizes of the distro, which may make other sizes look better. (this follows discussion with BlueStar Linux)
This commit is contained in:
parent
1e0ecbcc18
commit
2f66aa9b07
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ ThemeWidget::ThemeWidget(const ThemeInfo& info, QWidget* parent)
|
|||
image.fill( QColor( QRgb( hash_color ) ) );
|
||||
}
|
||||
|
||||
image = image.scaled( image_size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
||||
image = image.scaled( image_size, Qt::IgnoreAspectRatio, Qt::SmoothTransformation );
|
||||
|
||||
QLabel* image_label = new QLabel( this );
|
||||
image_label->setPixmap( image );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue