The Flying Colors example is interesting because the module developer has entered spaces as padding to attempt to right-align the keyboard shortcuts (it is pretty close tbh). The C&C ancients example illustrates pretty well how messy it looks when the shortcuts are not right-aligned.
Not working for Toolbar Button tool-tips, guessing this is some other area of the code. If it can be got working, then the extraneous square brackets could be dispensed with, which would be nice, I think.
If itâs not possible, then there is a workaround for the determined module developer; you can use HTML in the tooltip and if you do this and terminate with </html>, you need to specify the shortcut yourself. In which case, you can use any unicode symbols such as those that some else kindly collated here. Right-justification seems less important for a tooltip.
Incidentally, the Escape key is already given its symbolic representation â in a tooltip, so perhaps itâs not so tricky to extend this to other keys.
More info: Global Option components provide a Vassal-defined tooltip with shortcut, so the above module dev option isnât available for those.
Also, thereâs a question about the representation of some keys, like page down, for which PgDn (the current substitute) seems more useful than â which isnât even the same symbol as on the actual key (on my Mac keyboard at least). Perhaps PgDn is not very international friendly though.
As shown below, the left hand column of the Key Command settings; as opposed to single keystrokes which go in the right hand column. The problem emerged when I edited the module to replace single keystrokes with the 1hit, 2hits etc key commands.
The âunknown keycodeâ display seems to relate to some internal encoding of the long form, when for the purposes of the menu display such key commands should be blank/ignored.
Here is a simple module to demonstrate the issue. To start, create a new game and follow the instruction in the chat log.
I think the phrase you want is âNamed Commandâ rather than âlong formâ (as opposed to a âKeystroke Commandâ, which would be the keystroke form).
As an âolderâ gamer with bad eyesight, who struggles with small font sizes, it would be really helpful if the context menus were a user preference.
That way, people like me could set the font size to something large so we can actually play Vassal modules, while the 20-somethings with 20/10 eyesight can opt for tiny fonts.
The user (not Vassal default and not the module developer) needs control of thisâŚ
Having looked at this a bit now, I favor that we donât modify the font from the defaultâsetting the font to DIALOG at 10pt doesnât respect the userâs system settings.
As there are several other places in the code affected by this, Iâm going to make a separate PR for the font change only.
I do like the larger size, since I use 4k monitors and text often gets too small for comfort. Obviously still needs the right justification for the key equivalents. Those look even more obtrusive to me at the larger size.
I am interested in the font size aspect of this discussion; not so much the right-justified part.
I am working on a new version of VASL, using VASSAL 3.6.9. I notice that context menus in the system now appear in a larger font than previously with the keystroke in a smaller, coloured font. This is great and I think our users will really like it.
Am I right in thinking that this was introduced in VASSAL3.6.8 (which I skipped) or VASSAL3.6.9? I donât believe that I made any changes to VASL that would have resulted in this. I did not see anything in the VASSAL release notes about this but I could have missed it.
I notice in this thread a fair bit of discussion about allowing users to set the font size for the popup text. I agree whole-heartedly with this. However, I cannot find any way to do so in VASSAL3.6.9. Has this been implemented? If so, how? If not, will it be in future versions?
You are correct that the context menus were changed starting in v3.6.8. This version had unrelated performance issues and was quickly replaced with v3.6.9.
Re setting the popup text size, there is a field for this in Preferences/Settings, General tab: âOverride default font size (0 = default; restart required)â.
Re setting the popup text size, there is a field for this in Preferences/Settings, General tab: âOverride default font size (0 = default; restart required)â.
Thanks for this. Great stuff. I really like it and have posted info on VASL sites in FB, GS, and Discord.
It wasnât entirely clear to me that âOverride default font sizeâ was what I was looking for nor that I needed to enter a non-zero value to change it. Maybe I was just having a brain fog day.