I would like to modify the width of the panel, how should I

Discuss about Group-Office development here

Moderator: Developers

ericliu
Posts: 1
Joined: Tue Dec 17, 2013 3:05 pm

I would like to modify the width of the panel, how should I

Postby ericliu » Tue Dec 17, 2013 3:11 pm

I want to change the width of the panel
Do not want full-screen display
I want to set the width of the panel '1000px '
How should I do?
I found MainLayout.js in 'views \ Extjs3 \ themes \ Group-Office' directory
I try to add code: this.tabPanel.bodyStyle = 'width: 1000px';
No effect

help me,I'm a programmer from China
jamesarthur
Posts: 55
Joined: Fri Nov 08, 2013 9:15 am

Re: I would like to modify the width of the panel, how shoul

Postby jamesarthur » Thu Dec 19, 2013 8:42 pm

jamesarthur
Posts: 55
Joined: Fri Nov 08, 2013 9:15 am

Re: I would like to modify the width of the panel, how shoul

Postby jamesarthur » Thu Dec 19, 2013 8:48 pm

I feel I should probably elaborate.

Groupoffice clientside is built on top of Ext JS with a few groupoffice-specific extensions. Generally all ExtJS stuff will work on the groupoffice code. So for example the following would create a panel with a specific width:

Code: Select all

var panel = new Ext.Panel({
  width: 1000
})
Obviously there is a lot more to it than that - take a look at the docs, and at the simpler modules in groupoffice (for example the notes module).

Who is online

Users browsing this forum: No registered users and 1 guest

cron