1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +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: public:
std::vector<std::shared_ptr<CIntObject>> ownedChildren; std::vector<std::shared_ptr<CIntObject>> ownedChildren;
InterfaceLayoutWidget();
}; };
InterfaceLayoutWidget::InterfaceLayoutWidget()
:CIntObject()
{
type |= REDRAW_PARENT;
}
std::shared_ptr<CIntObject> InterfaceObjectConfigurable::buildLayout(const JsonNode & config) std::shared_ptr<CIntObject> InterfaceObjectConfigurable::buildLayout(const JsonNode & config)
{ {
logGlobal->debug("Building widget Layout"); logGlobal->debug("Building widget Layout");

View File

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