From d67aaddc8c2ef3a18caa0f4a96797fd9dc79a430 Mon Sep 17 00:00:00 2001 From: Juan Pinzon Date: Tue, 19 Jan 2010 14:27:23 -0800 Subject: [PATCH] Changes for demo --- apps/video/english.lproj/main_page.js | 12 ++++++------ apps/video/english.lproj/video.css | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/video/english.lproj/main_page.js b/apps/video/english.lproj/main_page.js index 6d21cb0..e932b33 100644 --- a/apps/video/english.lproj/main_page.js +++ b/apps/video/english.lproj/main_page.js @@ -21,7 +21,7 @@ VideoApp.mainPage = SC.Page.design({ layout: { centerX: 0, centerY: 0, width: 640, height: 480 }, canvasView: SC.VideoView.design({ - layout: { top: 0, left: 0, width: 640, height: 480 }, + layout: { top: 0, left: 0, width: 640, height: 350 }, canPlayCB : VideoApp.appController.canPlay, classNames: 'reflector', src: 'http://tinyvid.tv/vfe/big_buck_bunny.mp4' @@ -33,15 +33,15 @@ VideoApp.mainPage = SC.Page.design({ classNames: 'controllers', playButton: SC.ButtonView.design({ title: '', - titleMinWidth: 25, + titleMinWidth: 35, icon: 'play', - layout: { top: 0, left: 5, width: 30}, + layout: { top: 0, left: 5, width: 37}, action: "playPause", target: "VideoApp.appController" }), progressView: SC.SliderExtended.design({ - layout: { top: 2, left: 40, width: 340}, + layout: { top: 2, left: 42, width: 335}, value:0, valueBinding: "VideoApp.mainPage.mainPane.videoPlayer.canvasView.currentTime" , minimum: 0, @@ -78,8 +78,8 @@ VideoApp.mainPage = SC.Page.design({ theaterButton: SC.ButtonView.design({ title: '', icon: 'theater', - titleMinWidth: 30, - layout: { top: 0, right: 5, width: 30}, + titleMinWidth: 35, + layout: { top: 0, right: 5, width: 35}, action: "theatherMode", target: "VideoApp.appController" }) diff --git a/apps/video/english.lproj/video.css b/apps/video/english.lproj/video.css index 53181a5..7944f6c 100644 --- a/apps/video/english.lproj/video.css +++ b/apps/video/english.lproj/video.css @@ -25,14 +25,14 @@ .play { - background: transparent static_url('buttons.gif') no-repeat -3px 3px ; + background: transparent static_url('buttons.gif') no-repeat 0px 3px ; height: 20px; - width: 19px; + width: 22px; } .theater { - background: transparent static_url('buttons.gif') no-repeat -22px 3px ; + background: transparent static_url('buttons.gif') no-repeat -20px 3px ; height: 20px; width: 18px; }