Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java @ 66:a361ce81abcf
Customized style for header and mainmenu.
flys-client/trunk@1557 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 24 Mar 2011 15:48:13 +0000 |
parents | dfdb927b137d |
children | 4c5fa2b0086a |
comparison
equal
deleted
inserted
replaced
65:8f719fa1a691 | 66:a361ce81abcf |
---|---|
101 * This method is called by the constructor after creating the necessary | 101 * This method is called by the constructor after creating the necessary |
102 * components. It initializes layout specific stuff like width, height, | 102 * components. It initializes layout specific stuff like width, height, |
103 * colors and so on and appends the components. | 103 * colors and so on and appends the components. |
104 */ | 104 */ |
105 protected void init() { | 105 protected void init() { |
106 setWidth100(); | 106 setStyleName("bgBlueDark"); |
107 setHeight("35px"); | 107 setHeight("25px"); |
108 setBorder("1px solid #808080"); | |
109 setBackgroundColor("#C3D9FF"); | |
110 setLayoutMargin(5); | 108 setLayoutMargin(5); |
109 | |
110 newProject.setStyleName("fontLightSmall"); | |
111 projectList.setStyleName("fontLightSmall"); | |
112 userText.setStyleName("fontLightSmall"); | |
113 newProject.setStyleName("fontLightSmall"); | |
114 logout.setStyleName("fontLightSmall"); | |
115 language.setStyleName("fontLightSmall"); | |
116 info.setStyleName("fontLightSmall"); | |
117 | |
118 projectList.setWidth("140px"); | |
111 | 119 |
112 HLayout leftPanel = new HLayout(); | 120 HLayout leftPanel = new HLayout(); |
113 leftPanel.setWidth("80%"); | 121 leftPanel.setWidth("80%"); |
114 leftPanel.setMembersMargin(5); | 122 leftPanel.setMembersMargin(5); |
115 leftPanel.addMember(newProject); | 123 leftPanel.addMember(newProject); |