mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Resolution-independent trash icon
Also, generate the corresponding pixmap only once, and distribute it to all models that need it. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
60702f104c
commit
dfec501e7a
4 changed files with 44 additions and 5 deletions
|
@ -21,7 +21,7 @@ TableView::TableView(QWidget *parent) : QGroupBox(parent)
|
|||
metrics.icon = &defaultIconMetrics();
|
||||
|
||||
metrics.col_width = 7*text_em;
|
||||
metrics.rm_col_width = 3*text_em;
|
||||
metrics.rm_col_width = metrics.icon->sz_small + 2*metrics.icon->spacing;
|
||||
metrics.header_ht = text_ht + 10; // TODO DPI
|
||||
|
||||
/* There`s mostly a need for a Mac fix here too. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue