AmmyUI icon indicating copy to clipboard operation
AmmyUI copied to clipboard

FiveRows and TwoRows interaction

Open isukces opened this issue 7 years ago • 0 comments

I get strange results when TwoRows mixin follows FiveRows mixin.

#FiveRows("10","20","30","40","50")
#TwoRows("60", "70")
<RowDefinition Height="10"/>
<RowDefinition Height="20"/>
<RowDefinition Height="60"/>
<RowDefinition Height="70"/>
<RowDefinition Height="30"/>
<RowDefinition Height="40"/>
<RowDefinition Height="50"/>

if mixins order is like this

#TwoRows("10", "20")
#FiveRows("30","40","50","60","70")

the result is proper

<RowDefinition Height="10"/>
<RowDefinition Height="20"/>
<RowDefinition Height="30"/>
<RowDefinition Height="40"/>
<RowDefinition Height="50"/>
<RowDefinition Height="60"/>
<RowDefinition Height="70"/>

isukces avatar Jun 18 '17 09:06 isukces