
Hi Support Team,
I try to scale my Application in size, and everything works fine except the Button of the Application menu. The Button is only half visible (cut in the middle).
I used a ScrollViewer Control to gain scrolling functionality if the size of the content increases over the bounds of the window. Without ScrollViewer it works fine, but without scrolling functionality. With ScrollViewer it works also fine (with scrolling functionality) but with a cut in the middle of the ApplicationMenu button.
The scaling is important for the application because it should be usable for people with disability.
Here is a sample of my code:Any suggestions how I can get scaling, scrolling functionality and a normal Application menu button?
I try to scale my Application in size, and everything works fine except the Button of the Application menu. The Button is only half visible (cut in the middle).
I used a ScrollViewer Control to gain scrolling functionality if the size of the content increases over the bounds of the window. Without ScrollViewer it works fine, but without scrolling functionality. With ScrollViewer it works also fine (with scrolling functionality) but with a cut in the middle of the ApplicationMenu button.
The scaling is important for the application because it should be usable for people with disability.
Here is a sample of my code:
<ribbon:RibbonWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:cilog="clr-namespace:CI_LOG_Client"
x:Name="Window" x:Class="CI_LOG_Client.Window1"
ResizeMode="CanResizeWithGrip"
Title="Window1"
Icon="/Images/Saphir.ico"
ApplicationName="CI_LOG Client"
DocumentName="active modulname"
HorizontalContentAlignment="Left"
VerticalContentAlignment="Top"
Width="800" Height="600">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Grid>
<Grid.LayoutTransform>
<ScaleTransform CenterX="0" CenterY="0" ScaleX="3" ScaleY="3"/> //scaling-size is bound to a slider in my app.
</Grid.LayoutTransform>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
...
<ribbon:Ribbon x:Name="ribbon" Grid.Row="0" ApplicationButtonImage="/Images/Saphir.ico">
...
</ribbon:Ribbon>
</Grid>
</ScrollViewer>
</ribbon:RibbonWindow>