MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

remi/gui.py:1919–1926  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1917 """
1918
1919 def __init__(self, *args, **kwargs):
1920 super(HBox, self).__init__(*args, **kwargs)
1921
1922 # fixme: support old browsers
1923 # http://stackoverflow.com/a/19031640
1924 self.style.update({'display':'flex', 'flex-direction':'row'})
1925 self.style['justify-content'] = self.style.get('justify-content', 'space-around')
1926 self.style['align-items'] = self.style.get('align-items', 'center')
1927
1928 def append(self, value, key=''):
1929 """It allows to add child widgets to this.

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
updateMethod · 0.45

Tested by

no test coverage detected