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

MenuBar text size #12

Open
mwieder opened this issue Jun 5, 2023 · 0 comments
Open

MenuBar text size #12

mwieder opened this issue Jun 5, 2023 · 0 comments

Comments

@mwieder
Copy link

mwieder commented Jun 5, 2023

This is in a binary stack, so a pull request won't do, so...

in field MenuToolbarTextSize of stack revPreferencesGUI the code expects 14 buttons but there are only 13 now. In addition, this only affects the toolbar and not the text of the menuBar itself, which should IMO match. The fix for this:

remove the textSize property of the 13 menu buttons in the toolbar and change the code to read

on menuPick pItemName
set the cToolBarFontSize of stack "revPreferences" to pItemName
set the textSize of stack "revMenuBar" to pItemName
updateMenuToolBar
end menuPick

That way the entire menubar text is inherited, is updated at once, and you don't have to count the buttons.

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

No branches or pull requests

1 participant