Skip to content

Commit bee3b76

Browse files
committed
Tweaks note properties UI
1 parent 43edcf9 commit bee3b76

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

OpenUtau/Controls/NotePropertiesControl.axaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<Grid>
1818
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible">
1919
<StackPanel Margin="10">
20-
20+
<TextBlock Text="!!! WORK IN PROGRESS !!!" HorizontalAlignment="Center" Foreground="Red"/>
2121
<HeaderedContentControl Classes="groupbox" Header="{DynamicResource notedefaults.lyric}">
2222
<Grid ColumnDefinitions="143,*">
2323
<Label Content="{DynamicResource notedefaults.lyric}" Grid.Column="0"/>

OpenUtau/Views/PianoRollWindow.axaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,12 @@
447447
IsHitTestVisible="False" VerticalAlignment="Bottom" Margin="10,5"
448448
IsVisible="{Binding NotesViewModel.PrimaryKeyNotSupported}"
449449
Text="{DynamicResource tip.exps.notsupported}"/>
450-
<Expander Grid.Column="3" Grid.RowSpan="5" ExpandDirection="Left" IsExpanded="{Binding NotesViewModel.ShowNoteParams}"
451-
Background="{DynamicResource SystemRegionBrush}" Padding="0">
452-
<c:NotePropertiesControl />
453-
</Expander>
450+
<Border Grid.Column="3" Grid.RowSpan="5"
451+
IsEnabled="{Binding NotesViewModel.ShowNoteParams}"
452+
IsVisible="{Binding NotesViewModel.ShowNoteParams}"
453+
Background="{DynamicResource SystemRegionBrush}" Padding="0">
454+
<c:NotePropertiesControl/>
455+
</Border>
454456

455457
<Border Grid.Row="1" Grid.RowSpan="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
456458
BoxShadow="inset 0 0 5 1 #3F000000" ClipToBounds="True" IsHitTestVisible="False">

0 commit comments

Comments
 (0)