[PATCH] layout: Set implicit width of ToolBarLayout before using its width
authorArjen Hiemstra <ahiemstra@heimr.nl>
Mon, 7 Apr 2025 15:21:41 +0000 (17:21 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Tue, 20 May 2025 06:38:42 +0000 (08:38 +0200)
commit1b3b76b0ebc7620a9af3e73c7a7ed88276efbcfb
treefecf3a0196e8844baece087470d3dbe81667eb8c
parent937b23e04a3763bc31f2ea948edac0d7121f0e8b
[PATCH] layout: Set implicit width of ToolBarLayout before using its width

Split setting implicit size into setting width and height separately, so
that we if we use width() it will use the implicit width if no width was
set yet. This avoids us hiding all actions because width is 0, only to
then show them again because implicit width (and thus width) is now a
valid value.

Gbp-Pq: Name upstream_81352c22_layout-Set-implicit-width-of-ToolBarLayout-before-using-its-width.patch
src/layouts/toolbarlayout.cpp