Lines Matching full:h

14 SDL.init(w=480,h=320)
143 h = lv.cont(parent, None)
144 h.set_layout(lv.LAYOUT.PRETTY_MID)
145 h.add_style(lv.cont.PART.MAIN, style_box)
146 h.set_drag_parent(True)
148 h.set_style_local_value_str(lv.cont.PART.MAIN, lv.STATE.DEFAULT, "Basics")
158 h.set_fit2(lv.FIT.NONE, lv.FIT.TIGHT)
159 h.set_width(grid_w)
160 btn = lv.btn(h,None)
163 button_width=h.get_width_grid(1,1)
165 button_width=h.get_width_grid(2,1)
172 btn = lv.btn(h, btn)
177 lv.switch(h, None)
179 lv.checkbox(h, None)
181 fit_w = h.get_width_fit()
183 slider = lv.slider(h, None)
198 slider = lv.slider(h, None)
210 h = lv.cont(parent, h)
211 h.set_fit(lv.FIT.NONE)
212 h.set_style_local_value_str(lv.cont.PART.MAIN, lv.STATE.DEFAULT, "Text input")
214 ta = lv.textarea(h, None)
215 lv.cont.set_fit2(h,lv.FIT.PARENT, lv.FIT.NONE)
222 ta = lv.textarea(h, ta)
226 ta = lv.textarea(h, None)
227 lv.cont.set_fit2(h,lv.FIT.PARENT, lv.FIT.NONE)
232 lv.cont.set_fit4(h, lv.FIT.PARENT, lv.FIT.PARENT, lv.FIT.NONE, lv.FIT.PARENT)
482 h = lv.cont(parent, None)
483 h.set_drag_parent(True)
485 h.set_fit2(lv.FIT.NONE, lv.FIT.TIGHT)
486 h.set_width(lv.page.get_width_fit(page))
487 h.set_layout(lv.LAYOUT.COLUMN_MID)
489 h.set_size(lv.obj.get_width(lv.obj.__cast__(cal)), lv.obj.get_height(lv.obj.__cast__(cal)))
490 h.set_layout(lv.LAYOUT.PRETTY_TOP);
492 h.set_click(False)
493 h.set_style_local_bg_opa(lv.PART.MAIN, lv.STATE.DEFAULT, lv.OPA.TRANSP)
494 h.set_style_local_border_opa(lv.PART.MAIN, lv.STATE.DEFAULT, lv.OPA.TRANSP)
495 h.set_style_local_pad_left(lv.cont.PART.MAIN, lv.STATE.DEFAULT, 0)
496 h.set_style_local_pad_right(lv.cont.PART.MAIN, lv.STATE.DEFAULT, 0)
497 h.set_style_local_pad_top(lv.cont.PART_MAIN, LV_STATE_DEFAULT, 0);
498 h.set_size(min(grid_h, grid_w), min(grid_h, grid_w))
499 h.set_layout(lv.LAYOUT.PRETTY_TOP)
501 roller = lv.roller(h, None)
508 roller.set_width(lv.cont.get_width_grid(h, 1 , 1))
510 roller.set_width(lv.cont.get_width_grid(h, 2 , 1))
513 dd = lv.dropdown(h, None)
517 dd.set_width(lv.cont.get_width_grid(h, 1 , 1))
519 dd.set_width(lv.cont.get_width_grid(h, 2 , 1))