def __set_properties(self):
     textslider.align_sliders([
         self.slider_attenuation,
         self.slider_intensity,
         self.slider_height,
         self.slider_adaptive
         ])
Exemple #2
0
    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
         ])
Exemple #4
0
 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()
Exemple #5
0
 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])
 def __set_properties(self):
     textslider.align_sliders([
         self.slider_attenuation, self.slider_intensity, self.slider_height,
         self.slider_adaptive
     ])