Widget Properties
J. Landman Gay
jacque at hyperactivesw.com
Sat Apr 25 12:09:36 EDT 2020
Don't despair, not all widgets are duds. I've used several with good
success: the browser widget, spinner, tree view, switch button, nav bar,
segmented control and probably some others I can't remember. Since each
widget is authored by an individual, the properties they support vary but
like any software, feature requests are considered.
In my case I usually can't wait for a specific feature so I use LC controls
or groups that emulate the control I need. In my last project I created a
navigation bar with LC controls but it was recently updated to support a
feature I needed and now I'm using it again.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 25, 2020 9:19:00 AM Graham Samuel via use-livecode
<use-livecode at lists.runrev.com> wrote:
> Thanks Jacque
>
> Youre adding to my gloom about widgets being offered as native controls -
> the only reason they were produced AFAIKS was to produce a superior result
> to whatever else was on offer, and if they dont, why bother? I have a
> feeling not many people are trying to use them - you dont for example, and
> so far nobody on this list has come to their defence. Perhaps LCs widget
> factory is right to put their energies elsewhere.
>
> Graham
>
>> On 25 Apr 2020, at 00:03, J. Landman Gay via use-livecode
>> <use-livecode at lists.runrev.com> wrote:
>>
>> My suggestion was just to see what properties are available in the widget.
>> But when I just tried it, I see that it doesn't respond in the IDE, what
>> you see is just a placeholder. You can search for "ios native button" in
>> the dictionary, where I see only two available properties: enabled and label.
>>
>> If the widget author doesn't support the rest of them, they don't exist. I
>> do see that you can resize the rectangle, but since I don't use the native
>> buttons I'm not sure if the size will be retained on an iPhone or whether
>> it just defaults to the standard native size.
>>
>> Typically only the properties that the author has supported will appear in
>> the property inspector.
>>
>>
>> On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote:
>>> Thanks Jacque - info safely stored in my how to make a mobile app look
>>> like one archive!
>>> Thanks for the other info about properties - how would you then refer to a
>>> property that isnt shown in the Property Inspector for a widget, such as
>>> fontColor (or whatever)? I assume the array is just a way of accessing the
>>> whole collection and not the route to setting an individual property - but
>>> Im probably wrong.
>>> Graham
>>>> On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode
>>>> <use-livecode at lists.runrev.com> wrote:
>>>>
>>>> On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote:
>>>>> As my app took shape, I noticed how unlike a typical iPhone app it looked,
>>>>> mostly because I was using the controls I was familiar with, such as radio
>>>>> buttons and ordinary fields. I wondered if my users might find its
>>>>> interface unfamiliar. Therefore I have been seeking to make my apps user
>>>>> interface look and feel more like other iPhone apps. I have already had a
>>>>> lot of help from this list, but it seems there is no one packaged solution
>>>>> to getting an iPhone look and feel.
>>>>
>>>> You mentioned the iOS native button doesn't look right. If it makes you
>>>> feel better, the Android one doesn't either. So what I did was use a
>>>> round-rect graphic as a button. Set the linesize to 1 and the round radius
>>>> to 8. You can set the border color and the text color.
>>>>
>>>> I use the same graphic for Android. Sometimes Android buttons have a fill
>>>> color, sometimes they are just borderless text. I adjust those properties
>>>> based on platform. IOS buttons use sentence capitalization, Android buttons
>>>> use all-caps. The label can be adjusted the same way based on platform.
>>>>
>>>> It's an easy fix and looks native.
>>>>
>>>> --
>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>>>> HyperActive Software | http://www.hyperactivesw.com
>>>>
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> --
>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list