Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_userpref.py
| Show First 20 Lines • Show All 1,456 Lines • ▼ Show 20 Lines | def draw_props(self, context, layout): | ||||
| view = prefs.view | view = prefs.view | ||||
| flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False) | flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False) | ||||
| flow.row().prop(inputs, "view_rotate_method", expand=True) | flow.row().prop(inputs, "view_rotate_method", expand=True) | ||||
| flow.prop(inputs, "use_rotate_around_active") | flow.prop(inputs, "use_rotate_around_active") | ||||
| flow.prop(inputs, "use_auto_perspective") | flow.prop(inputs, "use_auto_perspective") | ||||
| flow.prop(inputs, "use_mouse_depth_navigate") | flow.prop(inputs, "use_mouse_depth_navigate") | ||||
| flow.prop(inputs, "use_2d_viewport_navigation") | |||||
| if sys.platform == "darwin": | if sys.platform == "darwin": | ||||
| flow.prop(inputs, "use_trackpad_natural", text="Natural Trackpad Direction") | flow.prop(inputs, "use_trackpad_natural", text="Natural Trackpad Direction") | ||||
| flow.separator() | flow.separator() | ||||
| flow.prop(view, "smooth_view") | flow.prop(view, "smooth_view") | ||||
| flow.prop(view, "rotation_angle") | flow.prop(view, "rotation_angle") | ||||
| ▲ Show 20 Lines • Show All 681 Lines • Show Last 20 Lines | |||||