Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy icons+separators from submenu to toolbar combobox drop-down list #3026

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

octaeder
Copy link
Contributor

@octaeder octaeder commented Mar 19, 2023

This PR enhances copying data from main (sub)menus when the menu is added to a combobox in a toolbar (s. config dialog->Toolbars), and resolves #3025.
Now icons for actions and separators from the menu are copied as well.

Design note: In order to keep the width of the combo box small, no shortcuts are copied. You can find this in the main menu or in the configuration.

Example

Add menu main/tools/commands to the custom toolbar in the config dialog. Now compare the main menu (in the middle) with the added menu as in txs version 4.5.1 (to the left) and in txs build with this PR (to the right):

grafik

@sunderme sunderme merged commit 29cfbc4 into texstudio-org:master Mar 19, 2023
@sunderme
Copy link
Member

thanks

@octaeder octaeder deleted the toolbarCombobox branch March 19, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add icons and separators from submenu to toolbar combobox drop-down list
2 participants