set role width to image width
This commit is contained in:
parent
3ec90bf1ae
commit
0fa27e3db9
|
@ -11,7 +11,7 @@ sub showContent()
|
||||||
cont = m.top.itemContent
|
cont = m.top.itemContent
|
||||||
m.name.text = cont.labelText
|
m.name.text = cont.labelText
|
||||||
m.name.maxWidth = cont.imageWidth
|
m.name.maxWidth = cont.imageWidth
|
||||||
m.role.Width = cont.imageWidth
|
m.role.maxWidth = cont.imageWidth
|
||||||
m.posterImg.uri = cont.posterUrl
|
m.posterImg.uri = cont.posterUrl
|
||||||
m.posterImg.width = cont.imageWidth
|
m.posterImg.width = cont.imageWidth
|
||||||
m.role.Text = cont.subTitle
|
m.role.Text = cont.subTitle
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
<Poster id="posterImg" width="234" height="300" translation="[8,243]" failedBitmapUri="pkg:/images/baseline_person_white_48dp.png" />
|
<Poster id="posterImg" width="234" height="300" translation="[8,243]" failedBitmapUri="pkg:/images/baseline_person_white_48dp.png" />
|
||||||
<ScrollingLabel id="pLabel"
|
<ScrollingLabel id="pLabel"
|
||||||
horizAlign="center" vertAlign="bottom"
|
horizAlign="center" vertAlign="bottom"
|
||||||
maxWidth="266" height="48"
|
height="48"
|
||||||
font="font:SmallestBoldSystemFont" repeatCount="0"/>
|
font="font:SmallestBoldSystemFont" repeatCount="0"/>
|
||||||
<ScrollingLabel id="SubTitle"
|
<ScrollingLabel id="SubTitle"
|
||||||
horizAlign="center" vertAlign="center"
|
horizAlign="center" vertAlign="center"
|
||||||
maxWidth="234" height="32"
|
height="32"
|
||||||
font="font:SmallestBoldSystemFont" color="#A7A7A7FF" repeatCount = "0" />
|
font="font:SmallestBoldSystemFont" color="#A7A7A7FF" repeatCount = "0" />
|
||||||
</LayoutGroup>
|
</LayoutGroup>
|
||||||
</children>
|
</children>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user