Completed
Last Updated: 17 Oct 2019 13:41 by ADMIN
Release R3 2019 SP
ADMIN
Stefan
Created on: 09 Aug 2017 11:14
Category: ScheduleView
Type: Bug Report
2
ScheduleView: When FontSize bigger than 16px is set to the GroupHeader, the Text is being cut off
There is a fixed value of 16px set for the Height of the GroupHeader. Thus, when a FontSize bigger than 16px is set, the Text is cut off as the GroupHeader is not resized. The workaround is to predefine the GroupHeaderContentTemplateSelector and remove the fixed Height that is set through it. 

<telerik:GroupHeaderTemplateSelector x:Key="GroupHeaderContentTemplateSelector">
                <telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
                    <DataTemplate>
                        <ContentPresenter Content="{Binding FormattedName}"  Margin="4" />
                    </DataTemplate>
                </telerik:GroupHeaderTemplateSelector.HorizontalTemplate>

                <telerik:GroupHeaderTemplateSelector.VerticalTemplate>
                    <DataTemplate> 
                            <ContentPresenter Content="{Binding FormattedName}" Margin="4" VerticalAlignment="Top">
                                <ContentPresenter.LayoutTransform>
                                    <RotateTransform Angle="-90" />
                                </ContentPresenter.LayoutTransform>
                            </ContentPresenter> 
                    </DataTemplate>
                </telerik:GroupHeaderTemplateSelector.VerticalTemplate>
 </telerik:GroupHeaderTemplateSelector>
0 comments