4 Answers, 1 is accepted
0

David
Top achievements
Rank 1
answered on 28 Oct 2013, 03:24 PM
Same problem here.
All tiles are pushed to the left.
Would love to have them centered.
All tiles are pushed to the left.
Would love to have them centered.
0
Hello David,
Regards,
Maya
Telerik
You can modify the template of the tile list by changing HorizontalContentAlignment of the ScrollViewer:
<
ScrollViewer
x:Name
=
"PART_ScrollViewer"
Margin
=
"0"
CanContentScroll
=
"True"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Padding
=
"{TemplateBinding Padding}"
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
HorizontalContentAlignment
=
"Center"
HorizontalScrollBarVisibility
=
"{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
VerticalScrollBarVisibility
=
"Hidden"
>
Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0

David
Top achievements
Rank 1
answered on 06 Nov 2013, 11:32 AM
Unfortunately, the right side of the tile list is cut off when setting the HorizontalContentAlignment to anything but Stretch.
0
Hi Juzalie,
Another option would be to change the Width of the Tiles to a smaller value than the default one using implicit style.
Regards,
Vanya Pavlova
Telerik
In fact, there is not enough space to display both columns, that Tiles formed. What you may do is restrict the ScrollViewer, as proposed below:
<
ScrollViewer
x:Name
=
"PART_ScrollViewer"
MinWidth
=
"650"
HorizontalAlignment
=
"Center"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CanContentScroll
=
"True"
HorizontalScrollBarVisibility
=
"{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
Margin
=
"0"
Padding
=
"{TemplateBinding Padding}"
VerticalScrollBarVisibility
=
"Hidden"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ItemsPresenter
/>
</
ScrollViewer
>
Another option would be to change the Width of the Tiles to a smaller value than the default one using implicit style.
Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>