VoiceToTextButton: Root UserControl collapsed, wenn Rechte fehlen -> Margin bei collapsed wird nicht berücksichtigt
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<UserControl
|
||||
x:Class="BeWo.AI.Controls.VoiceToTextButtonControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Name="root">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BeWo.AI.Controls
|
||||
InitializeComponent();
|
||||
if (!HasRightToUseAIVoice)
|
||||
{
|
||||
ButtonOpenTranskriptionView.Visibility = Visibility.Collapsed;
|
||||
root.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user