Skip to content

Commit

Permalink
Fix test button width
Browse files Browse the repository at this point in the history
  • Loading branch information
csutorasa committed Apr 5, 2018
1 parent 0d5b076 commit 2fa7046
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions XOutput/UI/Windows/ControllerSettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@
<GroupBox Header="{Binding LanguageModel.Data, Converter={StaticResource LanguageConverter}, ConverterParameter='ForceFeedback'}">
<StackPanel Orientation="Horizontal">
<Label Content="{Binding LanguageModel.Data, Converter={StaticResource LanguageConverter}, ConverterParameter='Test'}"/>
<Button Width="50" Click="ForceFeedbackButtonClick" IsEnabled="{Binding Model.ForceFeedbackEnabled}">
<MultiBinding Converter="{StaticResource DynamicLanguageConverter}">
<Binding Path="LanguageModel.Data"/>
<Binding Path="Model.TestButtonText"/>
</MultiBinding>
<Button Click="ForceFeedbackButtonClick" IsEnabled="{Binding Model.ForceFeedbackEnabled}">
<TextBlock Margin="10 0">
<TextBlock.Text>
<MultiBinding Converter="{StaticResource DynamicLanguageConverter}">
<Binding Path="LanguageModel.Data"/>
<Binding Path="Model.TestButtonText"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</Button>
<Label>
<MultiBinding Converter="{StaticResource DynamicLanguageConverter}">
Expand Down

0 comments on commit 2fa7046

Please sign in to comment.