LiveCode 8.0.0 Property Palette

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: LiveCode 8.0.0 Property Palette

Post by jacque » Mon Apr 04, 2016 7:57 pm

richmond62 wrote:I have just spent 30 minutes "digging" to try and locate the icons in the Props Palette,
even if nothing else you should be congratulated on having hidden them very effectively indeed.
I believe that's because they're a font rather than images, which is what allows them to scale so nicely. But fonts don't allow multi-colored characters in text.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: LiveCode 8.0.0 Property Palette

Post by FourthWorld » Mon Apr 04, 2016 7:58 pm

mwieder wrote:
I'd be very interested to hear suggestions on how the PI should respond when resized
Well, IMO I'd rather the PI didn't resize or relocate at all. That's bothered me since the Runrev 1.0 days. How about allowing it to be user-resizable, and setting the default size to the minimum necessary for all the controls to be visible?
jacque wrote:Here's my take on resizing the palette: It shouldn't do that on its own, it should respect the user's preference.
If there's a vote count mine here with these too.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode 8.0.0 Property Palette

Post by richmond62 » Mon Apr 04, 2016 8:05 pm

jacque wrote: I believe that's because they're a font rather than images, which is what allows them to scale so nicely. But fonts don't allow multi-colored characters in text.
At which point I can merrily chime in with either "SVG" or "Vector graphics".

It would also be perfectly possible to colorize the font displays just as one colorizes text in a textField.

Anyway, I'm not sure if I believe that:
iconsImages.png
In fact, if one wants, one can play "silly buggers" with things like this:
sillyBuggers.png
which makes me wonder if there aren't some "navIcons" and some 'actionIcons' lurking somewhere.

AS the "header background" is a widget it may, already, reference vector graphic "icons".

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode 8.0.0 Property Palette

Post by richmond62 » Mon Apr 04, 2016 9:43 pm

What is odd about the SVG widget is that is has 2 colours that can be set: the "normal" and the "highlight".

Now that's OK; BUT I have no idea how one would set those programmatically, as in, for instance:

set the normalColor of widget "Cheese" to "red"

{Hey, I tried that!]

ALSO: the widget "header_background" does NOT have any colour options
beyond INK

AND there's another 'chestnut': why Blends and Inks have been subsumed under the Colors heading.

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 Property Palette

Post by livecodeali » Tue Apr 05, 2016 8:17 am

Thanks for the replies everyone.

The forced minimum width due to the menu icons was put in as a stop-gap as we don't have time to implement multi-row / scrolling options for the palette header before 8.0. Jacque, I think your suggestion of arrows to scroll it is definitely something we'll look at for 8.1. At the same time I'll have a look at minimizing the PI's self-resizing. I tried just putting all the content in a scrolling group, but that didn't work - I probably just need to persevere.

The icons are indeed SVG. Adding color to the icons is a possibility, but I guess something that would need careful discussion and design.


Where would everyone like to see the header bar size preference documented? Where have you looked for it (Richmond and Mark)? The preference itself should probably be put into a general section of the preferences GUI stack as well as the palette header menus I suppose. It *is* in the guide for the IDE:
Screen Shot 2016-04-05 at 08.14.43.png

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 Property Palette

Post by livecodeali » Tue Apr 05, 2016 9:59 am

richmond62 wrote:What is odd about the SVG widget is that is has 2 colours that can be set: the "normal" and the "highlight".

Now that's OK; BUT I have no idea how one would set those programmatically, as in, for instance:

set the normalColor of widget "Cheese" to "red"

{Hey, I tried that!]
This is the same as it has always been - there is an option to display property inspector labels as the name of the property or the description of what the property represents.
Screen Shot 2016-04-05 at 09.57.38.png
This can also be set in the preferences dropdown of the PI:
Screen Shot 2016-04-05 at 10.00.00.png
Since you have the setting set to description, the property name is available as a tooltip:
Screen Shot 2016-04-05 at 09.56.45.png
Screen Shot 2016-04-05 at 09.56.45.png (20.18 KiB) Viewed 8292 times

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 Property Palette

Post by livecodeali » Tue Apr 05, 2016 10:14 am

I have fixed a number of these issues here.
https://github.com/livecode/livecode-ide/pull/1106

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 Property Palette

Post by livecodeali » Tue Apr 05, 2016 10:31 am

mwieder wrote:
LC8dp16PI.png
Do we really still support metal?
I thought liveResizing had gone by the wayside and now it's just resizable.
Good point :-)
Fixed, also in the above PR.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: LiveCode 8.0.0 Property Palette

Post by mwieder » Tue Apr 05, 2016 4:05 pm

Ali- Thanks so much for being in this discussion. I realize this should probably be done through bug reports or github issues, but a multiparty brainstorming discussion is much easier here.

This is starting to shape up.

I actually had no idea there was a pulldown menu to adjust some of these things. I filed a bug report (17322) on the fact that there aren't any checkmarks, at least on linux, so it's hard to tell if something is selected, but that's a help.

and another bug report (17321) on an unsubscribe problem with the tools palette (I thought we fixed that).

I can't tell whether or not this is fixed, but when you select Property Labels from the pulldown menu and select either of the two options, the PI still relocates... subjectively the left edge of the pane is centered horizontally on the screen.

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 Property Palette

Post by livecodeali » Tue Apr 05, 2016 5:00 pm

mwieder wrote: I filed a bug report (17322) on the fact that there aren't any checkmarks, at least on linux, so it's hard to tell if something is selected, but that's a help.
Argh, I believe the same is true on Windows... I hate menus!
mwieder wrote: and another bug report (17321) on an unsubscribe problem with the tools palette (I thought we fixed that).
Yes, me too - I'll have another look, but hopefully it should be just a case of unsubscribing from idePreferenceChanged.
mwieder wrote: I can't tell whether or not this is fixed, but when you select Property Labels from the pulldown menu and select either of the two options, the PI still relocates... subjectively the left edge of the pane is centered horizontally on the screen.
That's very strange - can't reproduce that on Mac. The inspector sets a preference every time you move it, so that it can relocate it to the same place. Maybe something up with preferences?

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: LiveCode 8.0.0 Property Palette

Post by mwieder » Tue Apr 05, 2016 5:14 pm

That's very strange - can't reproduce that on Mac.
Yeah - I just tried it on osx and it doesn't relocate.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode 8.0.0 Property Palette

Post by richmond62 » Wed Apr 06, 2016 5:22 pm

The icons are indeed SVG. Adding color to the icons is a possibility, but I guess something that would need careful discussion and design.
I'm not sure if it needs "careful discussion or design"

How about just having "Colorize" icons as an option,
with the SVG images having colour overlays of, say, red, green, blue, orange, purple . . .
iconsC.png
Last edited by richmond62 on Wed Apr 06, 2016 5:45 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode 8.0.0 Property Palette

Post by richmond62 » Wed Apr 06, 2016 5:31 pm

The icons are indeed SVG.
Aha:

What is this then?
fontTTF.png
fontUUU.png
fontVVV.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode 8.0.0 Property Palette

Post by richmond62 » Wed Apr 06, 2016 5:51 pm

Here's the proof that the Properties palette's icons use a font:

by setting the forgroundColor of the card of the Properties palette to "red"
all the "icons" go . . . . RED.

I wonder why someone told me they were SVG images?
proofOfFonts.png

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: LiveCode 8.0.0 Property Palette

Post by jacque » Wed Apr 06, 2016 7:54 pm

richmond62 wrote:
The icons are indeed SVG. Adding color to the icons is a possibility, but I guess something that would need careful discussion and design.
I'm not sure if it needs "careful discussion or design"

How about just having "Colorize" icons as an option,]
That looks clownish to me. The icons don't bother me as-is, they are distinctive enough. The icons at the bottom of the Project Browser, on the other hand, are mostly all square and difficult to tell apart without close scrutiny. Those could use a colored line indicating which alignment or adjustment each affects. But since they're a font, that won't happen.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply