Fixed bug #17222: fitToParent calculates wrong height - workspace grid needs 40 pixel...
authorsteffenk <steffenk@743128fe-103e-dd11-99c4-001b210b3e58>
Mon, 24 Jan 2011 21:45:30 +0000 (21:45 +0000)
committersteffenk <steffenk@743128fe-103e-dd11-99c4-001b210b3e58>
Mon, 24 Jan 2011 21:45:30 +0000 (21:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/workspaces/trunk@3977 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/workspaces/ChangeLog
typo3/sysext/workspaces/Resources/Public/JavaScript/grid.js
typo3/sysext/workspaces/Resources/Public/JavaScript/workspacegrid.js

index 8508179..0855d1c 100644 (file)
@@ -1,10 +1,14 @@
+2011-01-24  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #17222: fitToParent calculates wrong height - workspace grid needs 40 pixel offset for render the legend
+
 2011-01-21  Tolleiv Nietsch <typo3@tolleiv.de>
-       
+
        * Followup to #11539: Split view / initial height calculated right
        * Followup to #11539: Split view / tooltip styling added
 
 2011-01-21  Tolleiv Nietsch <typo3@tolleiv.de>
-       
+
        * Fixed bug #12448: grid preview links are broken
        * Raised version to 4.5.0rc1
        * Fixed bug #12415: Respect change #17167: Cache ExtDirect::getAPI calls
index 5472182..a7231df 100644 (file)
@@ -123,6 +123,8 @@ TYPO3.Workspaces.WorkspaceGrid = new Ext.grid.GridPanel({
        loadMask : true,
        height: 630,
        stripeRows: true,
+               // below the grid we need 40px space for the legend
+       heightOffset: 40,
        plugins : [
                TYPO3.Workspaces.RowExpander,
                TYPO3.Workspaces.Configuration.GridFilters,
index ad664bd..71da999 100644 (file)
@@ -64,6 +64,8 @@ TYPO3.workspaceGrid = Ext.extend(Ext.grid.GridPanel, {
                        loadMask : true,
                        height: 630,
                        stripeRows: true,
+                               // below the grid we need 40px space for the legend
+                       heightOffset: 40,
                        plugins : [
                                TYPO3.Workspaces.RowExpander
                                ,TYPO3.Workspaces.Configuration.GridFilters