[PATCH] controls: Improve calculation of InlineMessage implicit height
authorArjen Hiemstra <ahiemstra@heimr.nl>
Tue, 8 Apr 2025 09:10:47 +0000 (11:10 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Tue, 20 May 2025 06:38:42 +0000 (08:38 +0200)
commitc068633ee34875183befc6e0f37ab057cf77b34b
tree68bda7d3347335eae93db0844d8b8da6cbadf817
parente287537a027ffb7e2edeb9384ad933785e25d554
[PATCH] controls: Improve calculation of InlineMessage implicit height

If the text isn't long enough to wrap into mulitple lines, but we have
many or large actions such that the actions are still put below the
text, the actions and close button would overlap because the close
button is not accounted for. To fix that, always anchor the actions at
the bottom and calculate a more proper implicit height for the entire
inline message that accounts for close button height if it is visible.

Gbp-Pq: Name upstream_2c6cd90f_controls-Improve-calculation-of-InlineMessage-implicit-height.patch
src/controls/templates/InlineMessage.qml