mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-19 20:44:16 +02:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user