Project

General

Profile

Module initiation with full size » History » Version 2

Guanji Wang, 10/03/2017 18:51

1 1 Guanji Wang
h1. Module initiation with full size
2 1 Guanji Wang
3 1 Guanji Wang
h2. 1. The effect of full size:
4 1 Guanji Wang
5 1 Guanji Wang
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 2 Guanji Wang
      Meanwhile, other modules (like 'CREDITS' and 'Pie chart' etc..) need to keep their default size and position.
7 1 Guanji Wang
8 1 Guanji Wang
!Selection_127.jpg!
9 1 Guanji Wang
10 1 Guanji Wang
!Selection_128.jpg!
11 1 Guanji Wang
12 1 Guanji Wang
h2. Solution:
13 1 Guanji Wang
14 1 Guanji Wang
h3. Replace the js file by 'DesktopMode.js' attached in the path:  ~/workspace/client-user-3.0/app/core/DesktopMode.js
15 1 Guanji Wang
!Selection_131.jpg!
16 1 Guanji Wang
17 1 Guanji Wang
h2. In addition:
18 1 Guanji Wang
19 1 Guanji Wang
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 Guanji Wang
21 1 Guanji Wang
22 1 Guanji Wang
!Selection_129.jpg!