UI: add text editor zoom in/out to view menu

Ref !108430.
This commit is contained in:
RedMser 2023-06-02 15:23:52 +10:00 committed by Campbell Barton
parent 553e221c76
commit 240a1edfa1

@ -224,6 +224,16 @@ class TEXT_MT_view(Menu):
layout.separator()
props = layout.operator("wm.context_cycle_int", text="Zoom In")
props.data_path = "space_data.font_size"
props.reverse = False
props = layout.operator("wm.context_cycle_int", text="Zoom Out")
props.data_path = "space_data.font_size"
props.reverse = True
layout.separator()
layout.menu("TEXT_MT_view_navigation")
layout.separator()