better readability on preference checklist

gpv2
Pullusb 2022-10-22 16:23:01 +02:00
parent 56a83910bd
commit 88cdbf88cd
1 changed files with 6 additions and 4 deletions

View File

@ -617,11 +617,10 @@ class GPTB_prefs(bpy.types.AddonPreferences):
if self.pref_tabs == 'CHECKS': if self.pref_tabs == 'CHECKS':
layout.label(text='Following checks will be made when clicking "Check File" button:') layout.label(text='Following checks will be made when clicking "Check File" button:')
col = layout.column() col = layout.column()
# row = col.row() col.use_property_split = True
col.prop(self.fixprops, 'check_only') col.prop(self.fixprops, 'check_only')
col.label(text='If dry run is checked, no modification is done') col.label(text='If dry run is checked, no modification is done', icon='INFO')
col.label(text='Note: you can use Ctrl+Click on Check file button to invert the behavior') col.label(text='Use Ctrl + Click on "Check File" button to invert the behavior', icon='BLANK1')
col.separator() col.separator()
col.prop(self.fixprops, 'lock_main_cam') col.prop(self.fixprops, 'lock_main_cam')
col.prop(self.fixprops, 'set_scene_res', text=f'Reset Scene Resolution (to {self.render_res_x}x{self.render_res_y})') col.prop(self.fixprops, 'set_scene_res', text=f'Reset Scene Resolution (to {self.render_res_x}x{self.render_res_y})')
@ -639,6 +638,9 @@ class GPTB_prefs(bpy.types.AddonPreferences):
col.prop(self.fixprops, 'list_broken_mod_targets') col.prop(self.fixprops, 'list_broken_mod_targets')
col.prop(self.fixprops, 'autokey_add_n_replace') col.prop(self.fixprops, 'autokey_add_n_replace')
#-# col.prop(self.fixprops, 'set_cursor_type') #-# col.prop(self.fixprops, 'set_cursor_type')
# col = layout.column()
# col.use_property_split = True
col.prop(self.fixprops, "select_active_tool", icon='RESTRICT_SELECT_OFF') col.prop(self.fixprops, "select_active_tool", icon='RESTRICT_SELECT_OFF')
col.prop(self.fixprops, "file_path_type") col.prop(self.fixprops, "file_path_type")
col.prop(self.fixprops, "lock_object_mode") col.prop(self.fixprops, "lock_object_mode")