Skip to content

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

Merged
sunderme merged 1 commit intotexstudio-org:masterfrom
octaeder:toolbarCombobox
Mar 19, 2023
Merged

copy icons+separators from submenu to toolbar combobox drop-down list#3026
sunderme merged 1 commit intotexstudio-org:masterfrom
octaeder:toolbarCombobox

Conversation

@octaeder
Copy link
Copy Markdown
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
Copy Markdown
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