diff options
author | sr55 <[email protected]> | 2013-03-05 20:12:21 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-05 20:12:21 +0000 |
commit | 4ff95a7b1eac44a1577010e1cf3eaf8fa89c679d (patch) | |
tree | f604015295c72573850412eca55b9fd037e59976 /win/CS/HandBrakeWPF/Views | |
parent | 99fd7e4c1828a837203a9f351ab2df9e30f27216 (diff) |
WinGui: Show the two log files as tabs rather than a combobox selection. Makes it more obvious that there are two logs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5306 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/LogView.xaml | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/win/CS/HandBrakeWPF/Views/LogView.xaml b/win/CS/HandBrakeWPF/Views/LogView.xaml index cb6687251..94e5989ba 100644 --- a/win/CS/HandBrakeWPF/Views/LogView.xaml +++ b/win/CS/HandBrakeWPF/Views/LogView.xaml @@ -20,21 +20,7 @@ ToolBarTray.IsLocked="True"
Loaded="ToolBarLoaded"
>
-
-
- <TextBlock Margin="10,0,10,0"
- VerticalAlignment="Center"
- FontWeight="Bold"
- Text="Choose Log:" />
- <ComboBox Width="120
- " Margin="0,0,10,0" Background="LightSteelBlue" Height="22" FontWeight="Black"
- HorizontalAlignment="Right" VerticalAlignment="Center"
- ItemsSource="{Binding LogModes}"
- SelectedIndex="{Binding SelectedMode}"
- />
-
- <Separator />
-
+
<Button cal:Message.Attach="[Event Click] = [Action CopyLog]" Margin="10,0,0,0">
<StackPanel Orientation="Horizontal">
<Image Width="16" Source="Images/copy.png" />
@@ -50,13 +36,26 @@ </ToolBar>
- <TextBox Grid.Row="1"
+ <TabControl Grid.Row="1" SelectedIndex="{Binding SelectedTab}">
+ <TabItem Header="Scan Log">
+ <TextBox Grid.Row="1"
AcceptsReturn="True"
IsReadOnly="True"
ScrollViewer.VerticalScrollBarVisibility="Visible"
- Text="{Binding Log,
- Mode=OneWay}"
+ Text="{Binding ScanLog, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
TextWrapping="Wrap" />
+ </TabItem>
+
+ <TabItem Header="Encode Log">
+ <TextBox Grid.Row="1"
+ AcceptsReturn="True"
+ IsReadOnly="True"
+ ScrollViewer.VerticalScrollBarVisibility="Visible"
+ Text="{Binding EncodeLog, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
+ TextWrapping="Wrap" />
+ </TabItem>
+
+ </TabControl>
</Grid>
</Grid>
|