Show the symbol editor's fit button as Zoom content (#1495)

The symbol editor has no sheet to fit: its "Fit in view" action zooms on
the drawn parts (elementSceneGeometricRect()), which is what the folio
editor calls "Zoom content". Use that command's zoom-draw icon and name,
and give the action a status tip like the folio editor's.

The object name and the shortcut id stay the same, so saved shortcuts
and toolbar layouts keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-10-18 20:17:14 +13:00
parent abd1c8df2f
commit 1b54155cf9
+5 -2
View File
@@ -395,10 +395,13 @@
</action>
<action name="m_zoom_fit_best_action">
<property name="icon">
<iconset theme="zoom-fit-best"/>
<iconset theme="zoom-draw"/>
</property>
<property name="text">
<string>Fit in view</string>
<string>Zoom content</string>
</property>
<property name="statusTip">
<string>Adjusts the zoom to display the whole symbol</string>
</property>
</action>
<action name="m_zoom_original_action">