Trouble with "Grid spacing (pixels)" in the Preferences pain
Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller
Trouble with "Grid spacing (pixels)" in the Preferences pain
Hi,
I've hunted around, but I can't find any reference to my problem with setting the grid spacing for LiveCode using its preferences pain.
I'm running LiveCode 9 on an iMac with OSX 10.11 (El Capitan).
I found an option, in the Appearance tab of the Preferences dialogue, called "Grid spacing (pixels):"
When I try to alter the grid spacing by clicking on the up/down arrows, the number disappears entirely.
If I select the editable field and type to replace the number, again the number disappears entirely.
In both cases, if I use MSG to "put the gridSize", it becomes clear that nothing has been altered.
Is this a known bug with El Capitan? If so, it ought to be a small matter to correct it.
Grateful for all your thoughts.
Ideally, I would like to go into the Preferences stack and see if I can edit the script of the gridSpacing field to solve this issue - and also to add a "Grid" button so I could turn the grid on or off as required.
Tell me if you think that trying to do this would be risky.
I've hunted around, but I can't find any reference to my problem with setting the grid spacing for LiveCode using its preferences pain.
I'm running LiveCode 9 on an iMac with OSX 10.11 (El Capitan).
I found an option, in the Appearance tab of the Preferences dialogue, called "Grid spacing (pixels):"
When I try to alter the grid spacing by clicking on the up/down arrows, the number disappears entirely.
If I select the editable field and type to replace the number, again the number disappears entirely.
In both cases, if I use MSG to "put the gridSize", it becomes clear that nothing has been altered.
Is this a known bug with El Capitan? If so, it ought to be a small matter to correct it.
Grateful for all your thoughts.
Ideally, I would like to go into the Preferences stack and see if I can edit the script of the gridSpacing field to solve this issue - and also to add a "Grid" button so I could turn the grid on or off as required.
Tell me if you think that trying to do this would be risky.
-
- VIP Livecode Opensource Backer
- Posts: 4812
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Trouble with "Grid spacing (pixels)" in the Preferences
It's more likely a problem with the property inspector. I'm having similar issues with layering. Time for a bug report.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 1913
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Trouble with "Grid spacing (pixels)" in the Preferences
@EricMC
LC 9.0 DP-/6:
the grid and the gridsize works here by script but also NOT the little arrows and entry field in the PI.
@JLG
'Exact' layering is defunct in LC 9.0 DP-5/6, will be fixed in LC 9.0 DP-7.
#19349.
LC 9.0 DP-/6:
the grid and the gridsize works here by script but also NOT the little arrows and entry field in the PI.
The preferences are actually not a pain, but it's a nice 'freudian slip'EricMC wrote: ... in the preferences pain ...

@JLG
'Exact' layering is defunct in LC 9.0 DP-5/6, will be fixed in LC 9.0 DP-7.
#19349.
shiftLock happens
-
- Livecode Staff Member
- Posts: 526
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Trouble with "Grid spacing (pixels)" in the Preferences
Hi all,
This seems to be a bug, introduced in LC 8.1.0.
I have filed a new report:
http://quality.livecode.com/show_bug.cgi?id=19410
Best,
Panos
--
This seems to be a bug, introduced in LC 8.1.0.
I have filed a new report:
http://quality.livecode.com/show_bug.cgi?id=19410
Best,
Panos
--
-
- VIP Livecode Opensource Backer
- Posts: 4812
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Trouble with "Grid spacing (pixels)" in the Preferences
Thanks, that saves me some time.'Exact' layering is defunct in LC 9.0 DP-5/6, will be fixed in LC 9.0 DP-7.
#19349.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Trouble with "Grid spacing (pixels)" in the Preferences
Terrific. Thanks, guys.
Especially, thanks to Panos - who has offered a patch (which I intend to install).
Can anyone tell me how temporarily to open this "revpreferencesgui" stack for editing?
I want to add a "Grid" checkbox button to enable/disable the global grid property (whilst also activating/deactivating the GridSize control).
I tried to topLevel it - but it is still treated as a dialogue palette and not editable with the pointer tool, etc.
Especially, thanks to Panos - who has offered a patch (which I intend to install).
Can anyone tell me how temporarily to open this "revpreferencesgui" stack for editing?
I want to add a "Grid" checkbox button to enable/disable the global grid property (whilst also activating/deactivating the GridSize control).
I tried to topLevel it - but it is still treated as a dialogue palette and not editable with the pointer tool, etc.
-
- Livecode Staff Member
- Posts: 526
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Trouble with "Grid spacing (pixels)" in the Preferences
Hi EricMC,
If you want to customise any IDE stack, you have to set the "_ideoverride" property of that stack to false, and then "toplevel" it. So in the case of revPreferencesGUI:
1. Open the Preferences
2. Type in the msg box and DO NOT press Enter
3. Put the mouse over the Preferences stack and now press enter
Now this stack is editable.
Note that on OSX you will first have to change the permissions of the LC app bundle, otherwise any changes cannot be saved.
Best regards,
Panos
--
If you want to customise any IDE stack, you have to set the "_ideoverride" property of that stack to false, and then "toplevel" it. So in the case of revPreferencesGUI:
1. Open the Preferences
2. Type in the msg box
Code: Select all
set the _ideoverride of the mousestack to false;toplevel the mousestack
3. Put the mouse over the Preferences stack and now press enter
Now this stack is editable.
Note that on OSX you will first have to change the permissions of the LC app bundle, otherwise any changes cannot be saved.
Best regards,
Panos
--
Re: Trouble with "Grid spacing (pixels)" in the Preferences
Panos, that's terrific.
I'll do that now.
Thank you very much for your concise help and advice.
E.
I'll do that now.
Thank you very much for your concise help and advice.
E.
Re: Trouble with "Grid spacing (pixels)" in the Preferences
[-hh] wrote: The preferences are actually not a pain, but it's a nice 'freudian slip'
