mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
Magic numbers for view height.
This commit is contained in:
parent
df9cec14f7
commit
517f958616
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@
|
|||
#include <QPainter>
|
||||
|
||||
|
||||
static const int VIEW_HEIGHT = CalamaresUtils::defaultFontHeight() + 8;
|
||||
static const int VIEW_HEIGHT = qMax( CalamaresUtils::defaultFontHeight() + 8, // wins out with big fonts
|
||||
(int)( CalamaresUtils::defaultFontHeight() * 0.6 ) + 22 ); // wins out with small fonts
|
||||
static const int CORNER_RADIUS = 3;
|
||||
static const int EXTENDED_PARTITION_MARGIN = qMax( 4, VIEW_HEIGHT / 6 );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue