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:
@@ -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");
|
||||||
|
@@ -53,13 +53,13 @@
|
|||||||
"items":
|
"items":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "heroSpeedValueLabel",
|
"name": "heroSpeedValueLabel"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "enemySpeedValueLabel",
|
"name": "enemySpeedValueLabel"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "mapScrollingValueLabel",
|
"name": "mapScrollingValueLabel"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user