Project

General

Profile

Module initiation with full size » History » Version 1

Anonymous, 10/03/2017 18:50

1 1 Anonymous
h1. Module initiation with full size
2 1 Anonymous
3 1 Anonymous
h2. 1. The effect of full size:
4 1 Anonymous
5 1 Anonymous
h3.      For 'desktop' mode, some modules need to get full size according to the different screen when the users open them by clicking the module tab in menu, like HELP page and 'Dataset graphic tree'.
6 1 Anonymous
      Meanwhile, other modules (like 'CREDITS' and 'Pie chart' etc..) need to keep their default position.
7 1 Anonymous
8 1 Anonymous
!Selection_127.jpg!
9 1 Anonymous
10 1 Anonymous
!Selection_128.jpg!
11 1 Anonymous
12 1 Anonymous
h2. Solution:
13 1 Anonymous
14 1 Anonymous
h3. Replace the js file by 'DesktopMode.js' attached in the path:  ~/workspace/client-user-3.0/app/core/DesktopMode.js
15 1 Anonymous
!Selection_131.jpg!
16 1 Anonymous
17 1 Anonymous
h2. In addition:
18 1 Anonymous
19 1 Anonymous
h3. If preference is touched, don't forget to remove the defaultHeight and defaultWidth in:  ~/workspace/client-user-3.0/app/core/Desktop.js
20 1 Anonymous
21 1 Anonymous
22 1 Anonymous
!Selection_129.jpg!