Message Boards Message Boards

Intercept magnification evaluation for enlarging a palette?

Posted 2 years ago

I understand if I use Automatic/Fit for settings in ImageSize, WindowSize, etc..., then when one selects a magnification setting the created window/palette will enlarge correctly. This is great for us who are visually impaired. However, when I use numerical values for ImageSize, WindowSize etc...(for elegant design of layout) then the zoom enlargement gets screwed up. I am seeking a method to do the scaling programmatically so I can do the scaling correctly ie some kind of factor to be applied when the user selects a zoom setting and not let the FrontEnd do it for me. This solution would help many UI designers using Mathematica with full visual control. Consider this programming challenge for greater accessibility. Sorry I have no clue where to start so have no code to offer. The trick is manually handling the enlargement not the FrontEnd for complete control. Thanks for helping us visually impaired folks. :-)

POSTED BY: Andrew Meit
4 Replies
Posted 2 years ago

Third version, which fixes a nuisance. Changing magnification with the popup at lower right corner and then pressing palette -/+ buttons could cause error messages:

enter image description here

This does not happen if AbsoluteCurrentValue[..] is used instead of CurrentValue[..]

Attachments:
POSTED BY: Hans Milton
Posted 2 years ago

Updated the notebook

Attachments:
POSTED BY: Hans Milton
Posted 2 years ago

Thank you! Will explore your nb.

POSTED BY: Andrew Meit
Posted 2 years ago

Attached is an example where the "fixed" window size follows magnification.

I have also tried to use NotebookDynamicExpression to directly connect window size with the magnification popup. But without success.

Attachments:
POSTED BY: Hans Milton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract