|
126 | 126 | <DataTemplate DataType="vm:ImageTableViewModel">
|
127 | 127 | <DockPanel>
|
128 | 128 | <StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
|
129 |
| - <Button Grid.Row="3" BorderBrush="Gray" Command="{Binding ImportImagesCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Import from Directory"> |
| 129 | + <Button BorderBrush="Gray" Command="{Binding ImportImagesCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Import from Directory"> |
130 | 130 | <DockPanel>
|
131 | 131 | <materialIcons:MaterialIcon Kind="FolderUpload" Width="24" Height="24" Margin="2" />
|
132 | 132 | <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4">Import from Directory</TextBlock>
|
133 | 133 | </DockPanel>
|
134 | 134 | </Button>
|
135 |
| - <Button Grid.Row="3" BorderBrush="Gray" Command="{Binding ExportImagesCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Export to Directory"> |
| 135 | + <Button BorderBrush="Gray" Command="{Binding ExportImagesCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Export to Directory"> |
136 | 136 | <DockPanel>
|
137 | 137 | <materialIcons:MaterialIcon Kind="FolderDownload" Width="24" Height="24" Margin="2" />
|
138 | 138 | <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4">Export to Directory</TextBlock>
|
|
171 | 171 | <TextBlock Text="{Binding Sound.SoundName}" VerticalAlignment="Center" Margin="4"/>
|
172 | 172 | <TextBlock Text="{Binding Sound.Duration}" VerticalAlignment="Center" Margin="4"/>
|
173 | 173 | </StackPanel>
|
174 |
| - <StackPanel Orientation="Horizontal" Margin="4"> |
175 |
| - <Button Command="{Binding PlaySoundCommand}">Play</Button> |
176 |
| - <Button Command="{Binding PauseSoundCommand}">Pause</Button> |
177 |
| - <Button Command="{Binding StopSoundCommand}">Stop</Button> |
178 |
| - <!--<Button>Export</Button> |
179 |
| - <Button>Import</Button>--> |
180 |
| - </StackPanel> |
| 174 | + <OnPlatform> |
| 175 | + <OnPlatform.Windows> |
| 176 | + <StackPanel Orientation="Horizontal" Margin="4"> |
| 177 | + <Button BorderBrush="Gray" Command="{Binding PlaySoundCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Play audio"> |
| 178 | + <DockPanel> |
| 179 | + <materialIcons:MaterialIcon Kind="Play" Width="24" Height="24" Margin="2" /> |
| 180 | + <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4">Play</TextBlock> |
| 181 | + </DockPanel> |
| 182 | + </Button> |
| 183 | + <Button BorderBrush="Gray" Command="{Binding PauseSoundCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Pause audio"> |
| 184 | + <DockPanel> |
| 185 | + <materialIcons:MaterialIcon Kind="Pause" Width="24" Height="24" Margin="2" /> |
| 186 | + <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4">Pause</TextBlock> |
| 187 | + </DockPanel> |
| 188 | + </Button> |
| 189 | + <Button BorderBrush="Gray" Command="{Binding StopSoundCommand}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Stop audio"> |
| 190 | + <DockPanel> |
| 191 | + <materialIcons:MaterialIcon Kind="Stop" Width="24" Height="24" Margin="2" /> |
| 192 | + <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4">Stop</TextBlock> |
| 193 | + </DockPanel> |
| 194 | + </Button> |
| 195 | + <!--<Button>Export</Button> |
| 196 | + <Button>Import</Button>--> |
| 197 | + </StackPanel> |
| 198 | + </OnPlatform.Windows> |
| 199 | + <OnPlatform.Linux> |
| 200 | + <TextBlock Margin="4">Linux audio not currently supported :(</TextBlock> |
| 201 | + </OnPlatform.Linux> |
| 202 | + <OnPlatform.macOS> |
| 203 | + <TextBlock Margin="4">macOS audio not currently supported :(</TextBlock> |
| 204 | + </OnPlatform.macOS> |
| 205 | + <OnPlatform.Android> |
| 206 | + <TextBlock Margin="4">Android audio not currently supported :(</TextBlock> |
| 207 | + </OnPlatform.Android> |
| 208 | + <OnPlatform.iOS> |
| 209 | + <TextBlock Margin="4">iOS audio not currently supported :(</TextBlock> |
| 210 | + </OnPlatform.iOS> |
| 211 | + </OnPlatform> |
| 212 | + |
181 | 213 | </StackPanel>
|
182 | 214 | </Border>
|
183 | 215 | </DataTemplate>
|
|
266 | 298 |
|
267 | 299 | <DockPanel Grid.Row="2" Margin="2" >
|
268 | 300 | <materialIcons:MaterialIcon Kind="Magnify" Width="24" Height="24" Margin="2"/>
|
269 |
| - <TextBox Text="{Binding FilenameFilter}" BorderBrush="Gray" Watermark="Filename search" /> |
| 301 | + <TextBox Text="{Binding FilenameFilter}" BorderBrush="Gray" Watermark="Filename filter" /> |
270 | 302 | </DockPanel>
|
271 | 303 |
|
272 | 304 | <Button Grid.Row="3" BorderBrush="Gray" Command="{Binding RecreateIndex}" HorizontalAlignment="Stretch" Margin="2" Padding="2" ToolTip.Tip="Recreate index">
|
|
0 commit comments