fix(ui): notes add row stays visible, English 'Add' label, Enter to add
This commit is contained in:
@@ -13,10 +13,15 @@
|
||||
<TextBlock Classes="meta" VerticalAlignment="Center" Text="{Binding CurrentDayLabel}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="8" Margin="0,12,0,8">
|
||||
<TextBox Width="420" PlaceholderText="Neue Notiz…" Text="{Binding NewBulletText}"/>
|
||||
<Button Classes="btn" Content="Hinzufügen" Command="{Binding AddBulletCommand}"/>
|
||||
</StackPanel>
|
||||
<DockPanel DockPanel.Dock="Top" Margin="0,12,0,8">
|
||||
<Button DockPanel.Dock="Right" Classes="btn" Content="Add" Margin="8,0,0,0"
|
||||
Command="{Binding AddBulletCommand}"/>
|
||||
<TextBox PlaceholderText="Neue Notiz…" Text="{Binding NewBulletText}">
|
||||
<TextBox.KeyBindings>
|
||||
<KeyBinding Gesture="Enter" Command="{Binding AddBulletCommand}"/>
|
||||
</TextBox.KeyBindings>
|
||||
</TextBox>
|
||||
</DockPanel>
|
||||
|
||||
<ScrollViewer>
|
||||
<ItemsControl ItemsSource="{Binding Bullets}">
|
||||
|
||||
Reference in New Issue
Block a user