Ok this took a ton of time to figure out.
Problem: I don’t like 800×600 pages. I have widescreen LCDs and many other people do too. I will check the stats which is a developer type site, and here which is more general and based on 32,000+ sites.
Edit the files:
./tree/src/main/webapp/styles/simplicity/layout-1col.css and change line 8 to 924 (1024 – 100 which is what it was set to initially). This will set the login.jsp menu to this width.
./tree/src/main/webapp/styles/simplicity/layout.css and change line 11 to 1004 (1024 – 20 which is the same amount that was initially subtracted to arrive at 780px by the appfuse developers). this seems to set all pages to this width.
./tree/src/main/webapp/styles/simplicity/laout-navtop-subright.css and change line 8 to 924. This changes the menu size for the mainMenu.jsp page.
Also, while we’re on the subject of menus, you may want to edit ./tree/src/main/webapp/WEB-INF/menu-config.xml. Notice that your new classes (see previous posts) have a menu item for them. Well they also show up on the Login menu even though the user has to login before being able to access the menu item. This is clunky (IMHO) so I don’t want them there. In this menu-config file, you’ll notice there are no roles= attribute. Put one in there for each menu item and the menu generator (struts-menu) will take care of whether to display the menu item or not. This is one of the good things about these frameworks. You get to do a little config with no programming.
NOTE:
in ./tree/src/main/webapp/styles/simplicity/layout.css in the section marked div#main form ul li – this section affects the box around the Login fields. I added a width to this section and the login box adapted.
