1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed overlapped text display in adventure map settings

This commit is contained in:
Mike 2023-06-25 16:27:00 -07:00
parent 5c3cacd290
commit 75820c3bdf
2 changed files with 10 additions and 3 deletions

View File

@ -487,8 +487,15 @@ class InterfaceLayoutWidget : public CIntObject
{
public:
std::vector<std::shared_ptr<CIntObject>> ownedChildren;
InterfaceLayoutWidget();
};
InterfaceLayoutWidget::InterfaceLayoutWidget()
:CIntObject()
{
type |= REDRAW_PARENT;
}
std::shared_ptr<CIntObject> InterfaceObjectConfigurable::buildLayout(const JsonNode & config)
{
logGlobal->debug("Building widget Layout");

View File

@ -53,13 +53,13 @@
"items":
[
{
"name": "heroSpeedValueLabel",
"name": "heroSpeedValueLabel"
},
{
"name": "enemySpeedValueLabel",
"name": "enemySpeedValueLabel"
},
{
"name": "mapScrollingValueLabel",
"name": "mapScrollingValueLabel"
}
]
},