def __set_properties(self): textslider.align_sliders([ self.slider_attenuation, self.slider_intensity, self.slider_height, self.slider_adaptive ])
def __set_properties(self): # resize slider labels to the largest label to align them textslider.align_sliders([self.slider_R, self.slider_G, self.slider_B]) # resize color selector button to match width of numeric text boxes, # but keeping it square x = self.slider_R.text_ctrl.GetSize().x self.color_sel.SetSize((x, x)) # set controls to reflect current color self.__update_controls()
def __set_properties(self): # enable scrolls self.SetScrollRate(10, 10) # resize slider labels to the largest label to align them textslider.align_sliders([ self.fslider_fov, self.fslider_near, self.fslider_far, self.fslider_speed, self.fslider_mousex, self.fslider_mousey ])
def __set_properties(self): # resize slider labels to the largest label to align them textslider.align_sliders([ self.slider_R, self.slider_G, self.slider_B ]) # resize color selector button to match width of numeric text boxes, # but keeping it square x = self.slider_R.text_ctrl.GetSize().x self.color_sel.SetSize((x, x)) # set controls to reflect current color self.__update_controls()
def __set_properties(self): textslider.align_sliders( [self.slider_size, self.slider_blend, self.slider_intensity]) textslider.align_sliders( [self.slider_min_slope, self.slider_max_slope]) textslider.align_sliders( [self.slider_min_height, self.slider_max_height])
def __set_properties(self): textslider.align_sliders([ self.slider_attenuation, self.slider_intensity, self.slider_blend ]) textslider.align_sliders( [self.slider_min_slope, self.slider_max_slope]) textslider.align_sliders( [self.slider_min_height, self.slider_max_height])
def __set_properties(self): textslider.align_sliders([ self.slider_attenuation, self.slider_intensity, self.slider_blend ]) textslider.align_sliders([ self.slider_min_slope, self.slider_max_slope ]) textslider.align_sliders([ self.slider_min_height, self.slider_max_height ])
def __set_properties(self): textslider.align_sliders([ self.slider_attenuation, self.slider_intensity ])
def __set_properties(self): textslider.align_sliders( [self.slider_attenuation, self.slider_intensity])