mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Compensate for small partition visibility in Splitter widget.
This commit is contained in:
parent
43cfbaa15d
commit
7bf918bfee
2 changed files with 52 additions and 9 deletions
|
@ -67,7 +67,7 @@ private:
|
|||
|
||||
void drawPartitions( QPainter* painter,
|
||||
const QRect& rect,
|
||||
const QList< PartitionSplitterItem >& items );
|
||||
const QList< PartitionSplitterItem >& itemList );
|
||||
void drawSection( QPainter* painter, const QRect& rect_, int x, int width,
|
||||
const PartitionSplitterItem& item );
|
||||
void drawResizeHandle( QPainter* painter,
|
||||
|
@ -78,6 +78,9 @@ private:
|
|||
PartitionSplitterItem* _findItem( QList< PartitionSplitterItem >& items,
|
||||
F condition );
|
||||
|
||||
QPair< QList< PartitionSplitterItem >, qreal >
|
||||
computeItemsVector( const QList< PartitionSplitterItem >& originalItems ) const;
|
||||
|
||||
QList< PartitionSplitterItem > m_items;
|
||||
QString m_itemToResizePath;
|
||||
PartitionSplitterItem* m_itemToResize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue