summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-05-18 17:24:46 +0300
committerAndreas Kling <kling@serenityos.org>2023-05-18 18:06:05 +0200
commit82aedfcaf0eb1a91c2f604849928c6af783a0a3c (patch)
tree2340c2e9aa1fddc0ec08b9700d3d5939eda3b43f /Userland/Games/Chess
parent52e9dced1afeab6a0245408bbfaaa53768254703 (diff)
downloadserenity-82aedfcaf0eb1a91c2f604849928c6af783a0a3c.zip
LibWeb: Use grid item used width as available width during track sizing
This change addresses the incorrect assumption that the available width inside a grid item is equal to the width of the track it belongs to. For instance, if a grid item has a width of 200px, the available width inside that item is also 200px regardless of its column(s) base size. To solve this issue, it was necessary to move the final resolution of grid items to occur immediately after the final column track sizes are determined. By doing so, it becomes possible to obtain correct available width inside grid items while resolving the row track sizes.
Diffstat (limited to 'Userland/Games/Chess')
0 files changed, 0 insertions, 0 deletions