comparison browser_side/panels.py @ 109:5c363b638127

browser side: grouped header panel in a global Absolute panel
author Goffi <goffi@goffi.org>
date Wed, 29 Jun 2011 20:24:09 +0200
parents ad0696615768
children c64b00f31461
comparison
equal deleted inserted replaced
108:fad0e51cf565 109:5c363b638127
894 self.tab_panel = MainTabPanel(host) 894 self.tab_panel = MainTabPanel(host)
895 self.discuss_panel = MainDiscussionPanel(self.host) 895 self.discuss_panel = MainDiscussionPanel(self.host)
896 self.tab_panel.add(self.discuss_panel, "Discussions") 896 self.tab_panel.add(self.discuss_panel, "Discussions")
897 self.tab_panel.selectTab(0) 897 self.tab_panel.selectTab(0)
898 898
899 self.add(menu) 899 header=AbsolutePanel()
900 self.add(unibox_panel) 900 header.add(menu)
901 self.add(status) 901 header.add(unibox_panel)
902 header.add(status)
903 header.setStyleName('header')
904 self.add(header)
902 self.add(self.tab_panel) 905 self.add(self.tab_panel)
903 906
904 self.setWidth("100%") 907 self.setWidth("100%")
905 Window.addWindowResizeListener(self) 908 Window.addWindowResizeListener(self)
906 909