Index: Resources/Public/JavaScript/preview.js =================================================================== --- Resources/Public/JavaScript/preview.js (revision 3429) +++ Resources/Public/JavaScript/preview.js (working copy) @@ -34,6 +34,7 @@ activeTab: 0, items: [{ title: TYPO3.LLL.Workspaces.visualPreview, + id: 'wsVisual', layout: 'fit', items: [{ layout: 'fit', @@ -99,8 +100,15 @@ tbar: [ '->', '-', { - xtype: 'tbtext', - text: TYPO3.LLL.Workspaces.livePreview + xtype: 'button', + text: TYPO3.LLL.Workspaces.livePreview, + listeners: { + click: { + fn: function () { + Ext.getCmp('sizeSlider').setValue(0); + } + } + } }, { xtype: 'slider', @@ -121,8 +129,15 @@ } }, { - xtype: 'tbtext', - text: TYPO3.LLL.Workspaces.workspacePreview + xtype: 'button', + text: TYPO3.LLL.Workspaces.workspacePreview, + listeners: { + click: { + fn: function () { + Ext.getCmp('sizeSlider').setValue(100); + } + } + } } ] }]