Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
sencha-core
Commits
f23ea063
Commit
f23ea063
authored
Jun 08, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Gantt Editor:
Now resizing the surface when maximizing the Gantt Editor
parent
cd2285b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ResizeController.js
www/controller/ResizeController.js
+6
-2
No files found.
www/controller/ResizeController.js
View file @
f23ea063
...
...
@@ -21,8 +21,9 @@
*/
Ext
.
define
(
'PO.controller.ResizeController'
,
{
extend
:
'Ext.app.Controller'
,
id
:
'resizeController'
,
debug
:
false
,
'renderDiv'
:
null
,
// We assume all app HTML drawn inside this DIV
'outerContainer'
:
null
,
// Defined during initialization
'redrawPanel'
:
null
,
// The panel with a needsRedraw variable
...
...
@@ -156,7 +157,6 @@ Ext.define('PO.controller.ResizeController', {
// Disable the "resizable" properties of the outer panel
me
.
outerContainer
.
resizer
.
resizeTracker
.
disable
();
// Disable scrolling in the browser and set vertical scroll to zero
document
.
documentElement
.
style
.
overflow
=
'hidden'
;
// firefox, chrome
document
.
body
.
scroll
=
"no"
;
// ie only
...
...
@@ -165,6 +165,10 @@ Ext.define('PO.controller.ResizeController', {
document
.
body
.
scrollLeft
=
0
;
document
.
body
.
scrollTop
=
0
;
// Check if the surface is smaller than the ganttPanel
// and resize and redraw the surface if necessary
me
.
ganttZoomController
.
onSwitchToFullScreen
();
if
(
me
.
debug
)
console
.
log
(
'PO.controller.gantt_editor.GanttResizeController.onSwitchToFullScreen: Finished'
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment