src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml
changeset 34 9e222810f5b5
parent 10 e8bfe1102e03
child 35 ed77793b767a
--- a/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml	Fri Aug 07 01:03:14 2009 +0200
+++ b/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml	Sun Aug 09 18:29:41 2009 +0200
@@ -6,11 +6,9 @@
 	mc:Ignorable="d"
 	x:Class="FingersDance.Control.TimeLine.UserControlTimeLine"
 	x:Name="UserControl"
-	d:DesignWidth="575" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Height="88" Background="#FF898686">
+	d:DesignWidth="575" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Height="Auto" Background="#FF898686">
 
-	<Grid x:Name="LayoutRoot" Background="#FFFFFFFF" Height="88" Width="575">
-		<Custom:SurfaceSlider ValueChanged="SurfaceSlider_ValueChanged" Margin="0,0,0,8" Height="27" VerticalAlignment="Bottom" x:Name="SurfaceSlider" Value="0.5"/>
-		<Label HorizontalAlignment="Left" Margin="20,8,0,39" Width="243" Content="" x:Name="LabelSliderPosition" Background="#FCA8A8A8"/>
-		<Label HorizontalAlignment="Right" Margin="0,12,31,35" Width="243" Content="" x:Name="LabelSliderDuration" Background="#FFB2B2B2"/>
-	</Grid>
+	<StackPanel x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="#4CFCFCFC">
+		<Custom:SurfaceSlider  Height="27" x:Name="slider" Value="0.5" Width="575" Thumb.DragStarted="sliderPosition_DragStarted" Thumb.DragCompleted="sliderPosition_DragCompleted" />
+	</StackPanel>
 </UserControl>
\ No newline at end of file