1
0
forked from mirrors/0ad

Fix label resizing in Map Browser

Refs: #8188
This commit is contained in:
trompetin17
2025-07-14 13:18:46 -05:00
parent 01d2481f55
commit ffdf527d90
@@ -22,7 +22,7 @@ class LabelledControl
{
const labelWidth = this.label.getPreferredTextSize().width + 15;
this.label.size.right = labelWidth;
this.label.size.left = labelWidth;
this.control.size.left = labelWidth;
}
}