我们从Python开源项目中,提取了以下8个代码示例,用于说明如何使用wx.ITALIC。
def __set_properties(self): # begin wxGlade: sampoorna_win.__set_properties self.SetTitle(_("Import from Sampoorna")) self.SetSize((894, 640)) self.label_1.SetForegroundColour(wx.Colour(204, 50, 50)) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_2.SetForegroundColour(wx.Colour(95, 159, 159)) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_3.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_3.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_user.SetMinSize((250, 35)) self.label_4.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_4.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_passw.SetMinSize((250,35)) self.panel_1.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_next.SetMinSize((100, 35)) self.login_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.login_pane.SetFocus() self.checkbox_8.SetMinSize((100, 30)) self.checkbox_9.SetMinSize((100, 30)) self.checkbox_10.SetMinSize((120, 30)) self.panel_3.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_next_copy_copy.SetMinSize((100, 35)) self.button_next_copy.SetMinSize((100, 35)) self.standard_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.standard_pane.Hide() self.progresss_total.SetMinSize((400, 30)) self.progress_each.SetMinSize((400, 30)) self.text_ctrl_1.SetMinSize((450, 400)) self.text_ctrl_1.SetBackgroundColour(wx.Colour(204, 204, 204)) self.text_ctrl_1.SetForegroundColour(wx.Colour(17, 17, 71)) self.text_ctrl_1.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.button_finished.SetMinSize((100, 35)) self.panel_2.SetBackgroundColour(wx.Colour(193, 193, 255)) self.report_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) # end wxGlade
def __set_properties(self): # begin wxGlade: student_profie.__set_properties self.SetTitle(_("frame_1")) self.combo_box_13.SetMinSize((200, 35)) self.combo_box_14.SetMinSize((200, 35)) self.combo_box_15.SetMinSize((200, 35)) self.button_1.SetMinSize((110, 40)) self.text_ctrl_1.SetMinSize((123, 35)) self.bitmap_button_2.SetMinSize((50, 50)) self.static_line_1.SetMinSize((800, 4)) self.bitmap_button_1.SetMinSize((120, 120)) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_3.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_2.SetMinSize((300, 35)) self.text_ctrl_3.SetMinSize((300, 35)) self.combo_box_16.SetMinSize((100, 35)) self.label_4.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_5.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_6.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_4.SetMinSize((300, 35)) self.text_ctrl_5.SetMinSize((300, 35)) self.text_ctrl_6.SetMinSize((300, 35)) self.label_7.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_8.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_9.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_7.SetMinSize((300, 35)) self.text_ctrl_8.SetMinSize((300, 35)) self.text_ctrl_9.SetMinSize((300, 35)) self.label_10.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_11.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_12.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_10.SetMinSize((300, 35)) self.text_ctrl_11.SetMinSize((300, 35)) self.text_ctrl_12.SetMinSize((300, 35)) self.static_line_2.SetMinSize((1130, 10)) self.button_3.SetMinSize((120, 45)) self.button_2.SetMinSize((120, 45)) self.button_4.SetMinSize((120, 45)) # end wxGlade
def __set_properties(self): # begin wxGlade: sampoorna_win.__set_properties self.SetTitle(_("Import from Sampoorna")) self.SetSize((894, 640)) self.label_1.SetForegroundColour(wx.Colour(204, 50, 50)) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_2.SetForegroundColour(wx.Colour(95, 159, 159)) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_3.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_3.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_user.SetMinSize((250, 35)) self.label_4.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_4.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_passw.SetMinSize((250,35)) self.panel_1.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_next.SetMinSize((100, 35)) self.login_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.login_pane.SetFocus() self.checkbox_8.SetMinSize((100, 30)) self.checkbox_9.SetMinSize((100, 30)) self.checkbox_10.SetMinSize((120, 30)) self.panel_3.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_previous.SetMinSize((100, 35)) self.button_proceed.SetMinSize((100, 35)) self.standard_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.standard_pane.Hide() self.progresss_total.SetMinSize((400, 30)) self.progress_each.SetMinSize((400, 30)) self.button_finished.SetMinSize((100, 35)) self.panel_2.SetBackgroundColour(wx.Colour(193, 193, 255)) self.report_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) '''self.report_pane.Hide() self.button_finished.Hide() self.button_next.Disable() self.button_proceed.Disable() ''' # end wxGlade
def __init__(self, parent, start_time, end_time): wx.Dialog.__init__(self, parent, -1) sizer = wx.BoxSizer(wx.VERTICAL) self.SetTitle("Time Window") self.start_label = wx.StaticText(self, -1, label="...", style=wx.BOLD) self.end_label = wx.StaticText(self, -1, label="...", style=wx.BOLD) self.window_label = wx.StaticText(self, -1, "\t to \t") # self.start_label.SetFont(wx.Font(11, wx.DEFAULT, wx.BOLD, wx.NORMAL)) # self.window_label.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.NORMAL)) # self.end_label.SetFont(wx.Font(11, wx.DEFAULT, wx.BOLD, wx.NORMAL)) self.start_label.SetFont(wx.Font(11, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_SLANT, wx.FONTWEIGHT_NORMAL)) self.window_label.SetFont(wx.Font(11, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_NORMAL)) self.end_label.SetFont(wx.Font(11, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_SLANT, wx.FONTWEIGHT_NORMAL)) labelSizer = wx.BoxSizer(wx.HORIZONTAL) labelSizer.Add(self.start_label, 0, wx.ALL | wx.EXPAND, 3) labelSizer.Add(self.window_label, wx.ALL, 1) labelSizer.Add(self.end_label, 0, wx.ALL | wx.EXPAND, 3) self.btns = self.CreateSeparatedButtonSizer(wx.OK | wx.CANCEL) start_sizer = wx.BoxSizer(wx.HORIZONTAL) start_sizer.Add(wx.StaticText(self, -1, "Start: "), 0, wx.ALL, 1) self.start_slider = wx.Slider( self, -1, 0, 0, 100, wx.DefaultPosition, (250, -1), wx.SL_HORIZONTAL) start_sizer.Add(self.start_slider, 0, wx.ALL | wx.EXPAND, 5) self.Bind(wx.EVT_SLIDER, self.start_slider_update, self.start_slider) end_sizer = wx.BoxSizer(wx.HORIZONTAL) end_sizer.Add(wx.StaticText(self, -1, "End: "), 0, wx.ALL, 1) self.end_slider = wx.Slider( self, -1, 100, 0, 100, wx.DefaultPosition, (250, -1), wx.SL_HORIZONTAL) end_sizer.Add(self.end_slider, 0, wx.ALL | wx.EXPAND, 5) self.Bind(wx.EVT_SLIDER, self.end_slider_udpate, self.end_slider) self.start_time = start_time self.cur_end = end_time self.cur_start = self.start_time self.unit_seconds = (end_time - start_time).total_seconds() / 100.0 self.updateUI() sizer.Add(labelSizer, 0, wx.ALL | wx.EXPAND, 5) sizer.Add(start_sizer, 0, wx.ALL | wx.EXPAND, 5) sizer.Add(end_sizer, 0, wx.ALL | wx.EXPAND, 5) sizer.Add(self.btns, 0, wx.ALL | wx.EXPAND, 5) self.SetSizer(sizer) self.Fit()
def __set_properties(self): # begin wxGlade: student_profie.__set_properties self.SetTitle(_("Student Profile")) self.label_13.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_14.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_year.SetMinSize((350, 35)) self.combo_box_class.SetMinSize((350, 35)) self.label_16.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_17.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_div.SetMinSize((350, 35)) self.combo_box_name.SetMinSize((350, 35)) self.combo_box_name.SetSelection(0) self.bitmap_photo.SetMinSize((132, 132)) self.button_add.SetMinSize((129, 38)) self.button_add.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "Ubuntu")) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_3.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_roll.SetMinSize((300, 35)) self.text_ctrl_name.SetMinSize((300, 35)) self.text_ctrl_uid.SetMinSize((300, 35)) self.label_4.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_5.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_6.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.combo_box_gender.SetMinSize((100, 35)) self.combo_box_gender.SetSelection(0) self.text_ctrl_dob.SetMinSize((300, 35)) self.text_ctrl_category.SetMinSize((300, 35)) self.label_7.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_8.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_9.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_religion.SetMinSize((300, 35)) self.text_ctrl_caste.SetMinSize((300, 35)) self.text_ctrl_language.SetMinSize((300, 35)) self.label_10.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_11.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_12.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_father.SetMinSize((300, 35)) self.text_ctrl_mother.SetMinSize((300, 35)) self.text_ctrl_mobile.SetMinSize((300, 35)) self.label_18.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_email.SetMinSize((300, 35)) self.static_line_2.SetMinSize((1130, 10)) self.button_close.SetMinSize((120, 45)) self.button_delete.SetMinSize((120, 45)) self.button_delete.Enable(False) self.button_save.SetMinSize((120, 45)) self.button_save.Enable(False) self.panel_1.SetForegroundColour(wx.Colour(165, 42, 42)) # end wxGlade
def __set_properties(self): # begin wxGlade: student_profie.__set_properties self.SetTitle(_("Student Profile")) self.label_13.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_14.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_year.SetMinSize((350, 35)) self.combo_box_class.SetMinSize((350, 35)) self.label_16.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_17.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_div.SetMinSize((350, 35)) self.combo_box_name.SetMinSize((350, 35)) self.combo_box_name.SetSelection(0) self.bitmap_photo.SetMinSize((132, 132)) self.button_add.SetMinSize((129, 38)) self.button_add.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "Ubuntu")) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_3.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_roll.SetMinSize((300, 35)) self.text_ctrl_name.SetMinSize((300, 35)) self.text_ctrl_uid.SetMinSize((300, 35)) self.label_4.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_5.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_6.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.combo_box_gender.SetMinSize((100, 35)) self.combo_box_gender.SetSelection(0) self.text_ctrl_dob.SetMinSize((300, 35)) self.text_ctrl_category.SetMinSize((300, 35)) self.label_7.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_8.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_9.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_religion.SetMinSize((300, 35)) self.text_ctrl_caste.SetMinSize((300, 35)) self.text_ctrl_language.SetMinSize((300, 35)) self.label_10.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_11.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_12.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_father.SetMinSize((300, 35)) self.text_ctrl_mother.SetMinSize((300, 35)) self.text_ctrl_mobile.SetMinSize((300, 35)) self.label_18.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_email.SetMinSize((300, 35)) self.static_line_2.SetMinSize((1130, 10)) self.button_close.SetMinSize((120, 45)) self.button_delete.SetMinSize((120, 45)) self.button_save.SetMinSize((120, 45)) # end wxGlade
def __set_properties(self): # begin wxGlade: sampoorna_win.__set_properties self.SetTitle(("Import from Sampoorna")) self.SetSize((894, 700)) self.label_1.SetForegroundColour(wx.Colour(204, 50, 50)) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_2.SetForegroundColour(wx.Colour(95, 159, 159)) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.label_3.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_3.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_user.SetMinSize((250, 35)) self.label_4.SetForegroundColour(wx.Colour(185, 115, 45)) self.label_4.SetFont(wx.Font(11, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_passw.SetMinSize((250,35)) self.panel_1.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_next.SetMinSize((100, 35)) self.login_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.login_pane.SetFocus() self.checkbox_8.SetMinSize((100, 30)) self.checkbox_9.SetMinSize((100, 30)) self.checkbox_10.SetMinSize((120, 30)) self.panel_3.SetBackgroundColour(wx.Colour(193, 193, 255)) self.button_previous.SetMinSize((100, 35)) self.button_proceed.SetMinSize((100, 35)) self.standard_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.standard_pane.Hide() self.progresss_total.SetMinSize((400, 30)) self.label_progress_perc.SetMinSize((400, 30)) self.text_ctrl_report.SetMinSize((450, 400)) self.text_ctrl_report.SetBackgroundColour(wx.Colour(204, 204, 204)) self.text_ctrl_report.SetForegroundColour(wx.Colour(17, 17, 71)) self.text_ctrl_report.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.button_finished.SetMinSize((100, 35)) self.panel_2.SetBackgroundColour(wx.Colour(193, 193, 255)) self.report_pane.SetBackgroundColour(wx.Colour(249, 249, 248)) self.report_pane.Hide() #self.button_finished.Hide() #self.label_progress_perc.Hide() self.button_next.Disable() self.button_proceed.Disable() # end wxGlade
def __set_properties(self): # begin wxGlade: student_profie.__set_properties self.SetTitle(("Student Profile")) self.label_13.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_14.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_year.SetMinSize((350, 35)) self.combo_box_class.SetMinSize((350, 35)) self.label_16.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.label_17.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, "")) self.combo_box_div.SetMinSize((350, 35)) self.combo_box_adno.SetMinSize((350, 35)) self.combo_box_adno.SetSelection(0) self.bitmap_photo.SetMinSize((132, 132)) self.button_add.SetMinSize((129, 38)) self.button_add.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "Ubuntu")) self.label_1.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_2.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_3.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_roll.SetMinSize((300, 35)) self.text_ctrl_name.SetMinSize((300, 35)) self.text_ctrl_uid.SetMinSize((300, 35)) self.label_4.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_5.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_6.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.combo_box_gender.SetMinSize((100, 35)) self.combo_box_gender.SetSelection(0) self.text_ctrl_dob.SetMinSize((300, 35)) self.text_ctrl_category.SetMinSize((300, 35)) self.label_7.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_8.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_9.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_religion.SetMinSize((300, 35)) self.text_ctrl_caste.SetMinSize((300, 35)) self.text_ctrl_language.SetMinSize((300, 35)) self.label_10.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_11.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.label_12.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_father.SetMinSize((300, 35)) self.text_ctrl_mother.SetMinSize((300, 35)) self.text_ctrl_mobile.SetMinSize((300, 35)) self.label_18.SetFont(wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.BOLD, 0, "")) self.text_ctrl_email.SetMinSize((300, 35)) self.static_line_2.SetMinSize((1130, 10)) self.button_close.SetMinSize((120, 45)) self.button_delete.SetMinSize((120, 45)) self.button_delete.Enable(False) self.button_save.SetMinSize((120, 45)) self.button_save.Enable(False) self.button_add.Enable(False) self.bitmap_photo.Enable(False) # end wxGlade