Magic numbers for view height.
This commit is contained in:
parent
df9cec14f7
commit
517f958616
@ -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…
Reference in New Issue
Block a user