01-02-2013 06:05 AM
Hi,
I have the following ListItemComponent:
ListItemComponent {
type: "folder"
Container {
layout: DockLayout {}
layoutProperties: {
horizontalAlignment: HorizontalAlignment.Fill
}
Label {
text: ListItemData.title
textStyle {
base: SystemDefaults.TextStyles.BigText
fontWeight: FontWeight.Bold
color: Color.White
}
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: HorizontalAlignment.Left
}
Label {
text: ListItemData.numberOfComics
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: HorizontalAlignment.Right
}
}
}
However the second label (that's supposed to be touching the right edge of the screen, just sticks to the end of the first label. My guess is that the container doesn't fill the width it has available. How do I make sure the container fills it?
Solved! Go to Solution.
01-02-2013 06:49 AM
Oops, looks like I need to do a more thorough search. This topic helped my fix it.
01-02-2013 09:45 AM
01-02-2013 02:57 PM