Restore Rz Coins caption and fix rank/ELO badge wrapping below toolbar

Reverts the coin caption back to "Rz Coins" and shrinks the badge's
icons/fonts/spacing so both segments fit in the same footprint budget
the toolbar reserves. That budget was a hardcoded 900px sized for the
old single-segment badge; bump it to 960px to match the wider badge
instead of letting it overflow onto its own row.
This commit is contained in:
hz
2026-07-29 01:16:47 -05:00
parent 845907e825
commit f082be38e0
2 changed files with 22 additions and 23 deletions
+4 -4
View File
@@ -808,10 +808,10 @@ func _refresh_responsive_layout() -> void:
header_toolbar_host.reparent(target_parent)
header_toolbar_host.size_flags_horizontal = Control.SIZE_EXPAND_FILL if compact else Control.SIZE_SHRINK_END
question_toolbar.size_flags_horizontal = Control.SIZE_EXPAND_FILL
# 12 bare 44px icon buttons + the wider 92px Feedback button + the 150px
# points badge, with 8px gaps between all 14 - anything less than this
# wraps onto a second row.
header_toolbar_host.custom_minimum_size.x = 0.0 if compact else 900.0
# 12 bare 44px icon buttons + the wider 92px Feedback button + the ~194px
# rank/ELO + points badge, with 8px gaps between all 14 - anything less
# than this wraps onto a second row.
header_toolbar_host.custom_minimum_size.x = 0.0 if compact else 960.0
if size.x < 560.0:
nav_palette.columns = 5
else: