comparison browser_side/panels.py @ 148:8635bc9db9bf

added parameter management to test XMLUI, but it's currently deactivated for security reasons (need some configuration options) + separated mainTabPanel CSS from LiberviaTabPanel
author Goffi <goffi@goffi.org>
date Sun, 09 Dec 2012 23:42:08 +0100
parents b6658f3ac8a0
children b887186e8fc8
comparison
equal deleted inserted replaced
147:60ea800b7237 148:8635bc9db9bf
929 929
930 def __init__(self, host): 930 def __init__(self, host):
931 TabPanel.__init__(self) 931 TabPanel.__init__(self)
932 self.host=host 932 self.host=host
933 self.tabBar.setVisible(False) 933 self.tabBar.setVisible(False)
934 self.setStyleName('mainTabPanel') 934 self.setStyleName('liberviaTabPanel')
935 self.addStyleName('mainTabPanel')
935 Window.addWindowResizeListener(self) 936 Window.addWindowResizeListener(self)
936 937
937 def onWindowResized(self, width, height): 938 def onWindowResized(self, width, height):
938 tab_panel_elt = self.getElement() 939 tab_panel_elt = self.getElement()
939 _elts = doc().getElementsByClassName('gwt-TabBar') 940 _elts = doc().getElementsByClassName('gwt-TabBar')