1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #2257 from mikeiit/overlapped-text-bug-fix

Fixed overlapped text display in adventure map settings
This commit is contained in:
Ivan Savenko
2023-06-26 21:44:36 +03:00
committed by GitHub
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"
} }
] ]
}, },