From ed72f7ae22fd5b3aae3958704c09b2ecbabd4a0c Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 14 Jun 2012 09:59:24 +0000 Subject: WinGui: Some layout tweaks by beta-tester - disabling sizing on windows, where sizing makes no sense; - limit sizing on windows, where sizing in a wrong directions makes problems; - make controls full sizable, where the readability/information will benefit from; - all windows appears now in ScreenCenter; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4730 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Views/AboutView.xaml | 75 +++++-- win/CS/HandBrakeWPF/Views/AddPresetView.xaml | 135 +++++++---- win/CS/HandBrakeWPF/Views/AdvancedView.xaml | 4 +- win/CS/HandBrakeWPF/Views/AudioView.xaml | 275 +++++++++++++++++------ win/CS/HandBrakeWPF/Views/ErrorView.xaml | 76 +++++-- win/CS/HandBrakeWPF/Views/LogView.xaml | 39 +++- win/CS/HandBrakeWPF/Views/PreviewView.xaml | 88 +++++--- win/CS/HandBrakeWPF/Views/QueueView.xaml | 233 ++++++++++++------- win/CS/HandBrakeWPF/Views/SubtitlesView.xaml | 205 ++++++++++++----- win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml | 68 ++++-- 10 files changed, 860 insertions(+), 338 deletions(-) (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/Views/AboutView.xaml b/win/CS/HandBrakeWPF/Views/AboutView.xaml index c4e048bc5..7743dfc2d 100644 --- a/win/CS/HandBrakeWPF/Views/AboutView.xaml +++ b/win/CS/HandBrakeWPF/Views/AboutView.xaml @@ -1,12 +1,17 @@  + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:Micro="clr-namespace:Caliburn.Micro;assembly=Caliburn.Micro" + Title="{Binding Title}" + Width="600" + Height="320" + ResizeMode="NoResize" + WindowStartupLocation="CenterScreen"> - - + + @@ -14,8 +19,15 @@ - - + + @@ -25,29 +37,50 @@ - - - + + + - - - - - - This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - - + - + - - - + + - + diff --git a/win/CS/HandBrakeWPF/Views/PreviewView.xaml b/win/CS/HandBrakeWPF/Views/PreviewView.xaml index 460501930..e1ffbda19 100644 --- a/win/CS/HandBrakeWPF/Views/PreviewView.xaml +++ b/win/CS/HandBrakeWPF/Views/PreviewView.xaml @@ -1,11 +1,16 @@  + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:cal="http://www.caliburnproject.org" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + Title="{Binding Title}" + Width="380" + Background="#FFF1F0EF" + ResizeMode="NoResize" + SizeToContent="Height" + WindowStartupLocation="CenterScreen" + mc:Ignorable="d"> - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - - -