aboutsummaryrefslogtreecommitdiffstats
path: root/src/cardlayout.h
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-28 11:44:06 +0200
committerDanilo M. <danix@danix.xyz>2026-08-28 11:44:06 +0200
commit5f31a037a37a928a8e21fdf0950568a689e29fb8 (patch)
tree644c9ce1b9117a28533e9f9c4cdf81c7289677cb /src/cardlayout.h
parent20eb3877c4502a0b8ebe770a563066d8c85387ba (diff)
downloadqtmaildir-5f31a037a37a928a8e21fdf0950568a689e29fb8.tar.gz
qtmaildir-5f31a037a37a928a8e21fdf0950568a689e29fb8.zip
refactor: remove the sibling chip tier
Nothing is a sibling any more: a conversation row draws the thread's tags and a message row draws its own.
Diffstat (limited to 'src/cardlayout.h')
-rw-r--r--src/cardlayout.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cardlayout.h b/src/cardlayout.h
index cd4eb76..57edca7 100644
--- a/src/cardlayout.h
+++ b/src/cardlayout.h
@@ -174,19 +174,6 @@ struct CardLayout
/// column of content.
static QFont smallFont(const QFont &cardFont);
- /// The font a SIBLING's tag chip is drawn in: a size down again from
- /// smallFont().
- ///
- /// A card stands for one message but sits above a conversation, and shows
- /// both tiers (item 111). Size is what says which is which, so the two
- /// must be visibly different; taking one more step from the same base
- /// keeps it following the desktop's font rather than being fixed.
- ///
- /// Floored like smallFont(), and the floor really is reachable: a desktop
- /// at the minimum size gives both tiers the same size, which is a legible
- /// degradation rather than an illegible chip.
- static QFont siblingFont(const QFont &cardFont);
-
static CardLayout compute(const Input &input, const QRect &rect,
const QFont &font);