Skip to content

Commit

Permalink
SLVS-1651 Fix connection name vizualization for longer names in the L…
Browse files Browse the repository at this point in the history
…istbox from Manage Connections dialog
  • Loading branch information
gabriela-trutan-sonarsource committed Dec 27, 2024
1 parent 1d9a3a5 commit 888dab8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
Click="NewConnection_Clicked" />
</Grid>
<ListBox Grid.Row="1" ItemsSource="{Binding Path=ConnectionViewModels, Mode=OneWay}" Margin="0,10"
ItemContainerStyle="{StaticResource NoSelectionListBoxItemStyle}">
ItemContainerStyle="{StaticResource NoSelectionListBoxItemStyle}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Margin="0,5,0,0">
Expand Down Expand Up @@ -90,7 +91,7 @@
</Grid.RowDefinitions>

<TextBlock Grid.Row="0" Grid.RowSpan="2" Text="{Binding Path=Name, Mode=OneWay}"
VerticalAlignment="Center" />
VerticalAlignment="Center" TextWrapping="Wrap" />
<CheckBox Visibility="Collapsed" Grid.Row="1"
Content="{x:Static res:UiResources.SmartNotificationsCheckboxLabel}"
IsChecked="{Binding Path=EnableSmartNotifications}"
Expand Down

0 comments on commit 888dab8

Please sign in to comment.