Пример #1
0
    def __init__(self, parent):
        blog_master_div.__init__(self, parent = parent)
        self.table                   = dos.table(parent = self)
        self.table.style.width       = css.percent(100)
        self.row                     = dos.tr(parent = self.table)
        self.col_0                   = dos.td(parent = self.row)
        self.col_1                   = dos.td(parent = self.row)
        self.col_1.style.width       = css.percent(100)
        self.col_2                   = dos.td(parent = self.row)
        self.col_3                   = dos.td(parent = self.row)
        self.col_4                   = dos.td(parent = self.row)

        self.button_show_hide        = ButtonShowHide(parent = self.col_0, entry = self.parent)
        self.title                   = ToolbarTitle(parent = self.col_1,   entry = self.parent)
        self.button_move_down        = ButtonMoveDown(parent = self.col_2, entry = self.parent)
        self.button_move_up          = ButtonMoveUp(parent = self.col_3,   entry = self.parent)
        self.button_delete           = ButtonDelete(parent = self.col_4,   entry = self.parent)
Пример #2
0
 def css():
     css.prop.font_style        = css.values.font_styles.italic
     css.prop.width             = css.percent(100)
     css.prop.background_color  = css.rgb(245,245,255)
Пример #3
0
 def css():
     css.prop.width = css.percent(99)
     css.prop.min_height = css.inch(4)
     css.prop.height     = css.percent(100)