VoiceToTextButton: Root UserControl collapsed, wenn Rechte fehlen -> Margin bei collapsed wird nicht berücksichtigt

This commit is contained in:
2026-03-25 12:11:02 +01:00
parent 9fe7e38871
commit 6beaf1e131
2 changed files with 3 additions and 2 deletions

View File

@@ -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 />

View File

@@ -35,7 +35,7 @@ namespace BeWo.AI.Controls
InitializeComponent();
if (!HasRightToUseAIVoice)
{
ButtonOpenTranskriptionView.Visibility = Visibility.Collapsed;
root.Visibility = Visibility.Collapsed;
}
}