-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 7.0.4
-
Component/s: Components
-
None
-
None
for example,
<zk>
<style>
.blue {
border: solid 1px blue;
}
.red {
border: solid 1px red;
}
.green {
border: solid 1px green;
}
.black {
border: solid 1px black;
}
</style>
Please click the button "add newChild" and the size fo black area inside blue area should be up to date
<hlayout id="container" width="580">
<div hflex="1">
<div class="blue">
<div class="black" hflex="1">
blue
</div>
</div>
</div>
<div class="red" hflex="1">
red
</div>
<div class="green" hflex="1">
green
</div>
</hlayout>
<button label="add newChild">
<attribute name="onClick">
container.appendChild(container.getLastChild().clone());
</attribute>
</button>
</zk>