See inline responses below.
On Tue, Oct 23, 2012 at 11:51 AM, Robert L. Savoy
<[log in to unmask]> wrote:
> When teaching people how to use the file-selection window in SPM, those people using Macs have extra, unnecessary headaches. I will ask about two, in the hope that there is both specific information about how to deal with them, and perhaps a general site/message that I missed about this kind of question in the past.
>
> 1) The font size in many SPM8 windows, especially in buttons, but also in figures generated by SPM8, is often inappropriately large or small (respectively). Is it possible/easy to change this?
>>>>>>>From an old thread:
"tricky business... You can try two things:
* edit spm.m at lines 604 and 607 and try others values than 1.4 and
0.85 (if using Matlab 7.1, change also line 602).
* edit spm_platform.m at line 228 and replace TrebuchetMS with another
font that would give a better rendering.
Let us know if you find a better combination of those options.
Best regards,
Guillaume."
"I simply commented out lines 603-605 in spm.m (the "try, if ismac"
block) and things look reasonable to me..."
"I found that changing the offset value in line 604 of the SPM.m file
from 1.4 to 1.0 decreases the font size enough to separate the text on
the bottom of the
output window. I didn't need to change line 607."
> 2) The following is much more specific, and clearly a "bug", as it doesn't serve any good purpose and is different on Macs from PCs. When in a File-Selection window, if one "right clicks" to do a "Select All" (files) or "Deselect All" (files), either by having a right-button, or using the more common "Control-leftbuttondown", the "Select All" or "Deselect All" pop-up button appears. On a PC, one has to release the (physical) button to get the (on-screen-software) button. And then one moves the cursor to the active portion of the button to SelectAll or DeselectAll. On a Mac, as soon as one pushes the (physical) button, the "Select All" (or Deselect All) on-screen-software button appears. Now comes the critical part: If one KEEPS THE PHYSICAL BUTTON PUSHED (i.e., "buttondown" state), one can move the cursor to the active part of the screen button to do the appropriate action. HOWEVER, if one releases the physical button ("buttonup" state), the on-screen "SelectALL" or "DeselectAll" button stays on the screen, and one can subsequently move the cursor into the active part and click again, BUT ONE FILE HAS ALREADY BEEN SELECTED...namely, the one where the cursor happened to be in the select or deselect portion of the file-selection window. If one then absent-mindedly doesn't notice this, and then clicks the button, the remainder of the files are selected (so it LOOKS like you've correctly selected all the files you were trying to select), but, in fact, they are in the wrong order.
>>>> I don't have a good solution, except to use scroll to the bottom of the file list, then hold shift and select the last file. This is equivalent to "Select All" and would be the safest way to make sure the files are selected in the correct order. I know its not ideal, but its an easy work around. The issue of unselect All doesn't matter since you want to remove all the files anyway - although making it work better would be nice.
>
> I suspect that it may simply be a matter of changing the way the Select All and Deselect All portion of the code for the Mac is implemented, being careful to do some actions only after the buttonup state is reached. But it has been several decades since I programmed Macs at that level, so I don't really know how difficult this is to fix.
>
> Thanks in advance for advice or help with this.
>
> Robert Savoy
>
> -ps: While I am here: Have the "bounding box" default values been changed to something like -70 for z, to include the bottom of the cerebellum? For years I have had to change the spm_defaults file to get that part of the brain included, i.e., within my spm_defaults.m I have the lines:
> %defaults.normalise.write.bb = [[-78 -112 -50];[78 76 85]];
> defaults.normalise.write.bb = [[-78 -112 -70];[78 76 85]];
|