Re: Radio button scaling

2017-10-29 Thread Sannyasin Brahmanathaswami via use-livecode
Christer

I have had some success with 

a) create icon in a vector program
b) no gradients!
c) set background as transparent
d) save as PNG at the largest size you might need.
e) scale down (never up) dynamically run time before display.

whether it is "non-smooth" will vary depending on the image.

some appear very nicely; others do break down even when scaling down…there is a 
"lower limit" after which point the edges of the image will start to become 
jaggy.   I recently did this myself for radio buttons, creating a circle in 
Illlustrator…. one for the "checked" state and one for the unchecked state. 

On 10/29/17, 12:48 AM, "use-livecode on behalf of hh via use-livecode" 
 wrote:

This is solvable as soon as icons are settable using SVG.
Other scaling would result in non-smooth displays as the icons are images.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Radio button scaling

2017-10-29 Thread Pyyhtiä Christer via use-livecode
Thank you!

1. In the mean while built just a double button scheme, let's see how it looks 
with the devices.  Look forward to simplifying back to single buttons with the 
new icons for checkBox and radio buttons.  "When" is my 2-3 year old question, 
though.  Just ask a nerd nearby to do the job.

2.  Still on Mac OS/X 10.12 level.  Thanks for the warning.  The source of the 
problem may be that I am using different 2nd screens at the different desks I 
work at.  Not a nice problem.

rgds


From: hh <h...@hyperhh.de <mailto:h...@hyperhh.de>>
To: use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
Subject: Re: Radio button scaling
Message-ID: <e5693ce9-831a-42f3-907b-e47cc3834...@hyperhh.de 
<mailto:e5693ce9-831a-42f3-907b-e47cc3834...@hyperhh.de>>
Content-Type: text/plain;   charset=us-ascii

Answer 1.
This is solvable as soon as icons are settable using SVG.
Other scaling would result in non-smooth displays as the icons are images.

But you could make a set of images for different "resolutions" and use
these images as "icons" for the buttons, dependent on your scale.
Also you could make a radio button widget (don't forget the radio-grouping).

Answer 2.
In case you are using MacOS 10.13, then the culprit is the OS, not LiveCode.
MacOS 10.13 is horrible. Sometimes the prefs of some Apps, not only LiveCode,
are reset to default in between working. What you describe sounds like that.

> Christer P. wrote:
> Question 1:
> What is the problem with getting the radio buttons "tick boxes" scalable?
> Trying to remember, I asked about it for a few years ago, and the answer by 
> LC team was, it is about the icon??
> I tried using switch button widgets, but the scaling of those isn't linear 
> (width / height) as any other objects.
> So, do I need to do my own radio buttons (i.e. use a round hilite button + 
> text button) or would there be another solution?
> 
> Question 2:
> LC 8.1.7 rc-3; there is instability in retaining setups.  For example, 
> upgrading from the previous G version the path to SDK was lost.  Also various 
> setups seem to move, the background of the screen goes all grey.  Anyone 
> experiencing oddities like this?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Radio button scaling

2017-10-29 Thread hh via use-livecode
Answer 1.
This is solvable as soon as icons are settable using SVG.
Other scaling would result in non-smooth displays as the icons are images.

But you could make a set of images for different "resolutions" and use
these images as "icons" for the buttons, dependent on your scale.
Also you could make a radio button widget (don't forget the radio-grouping).

Answer 2.
In case you are using MacOS 10.13, then the culprit is the OS, not LiveCode.
MacOS 10.13 is horrible. Sometimes the prefs of some Apps, not only LiveCode,
are reset to default in between working. What you describe sounds like that.

> Christer P. wrote:
> Question 1:
> What is the problem with getting the radio buttons "tick boxes" scalable?
> Trying to remember, I asked about it for a few years ago, and the answer by 
> LC team was, it is about the icon??
> I tried using switch button widgets, but the scaling of those isn't linear 
> (width / height) as any other objects.
> So, do I need to do my own radio buttons (i.e. use a round hilite button + 
> text button) or would there be another solution?
> 
> Question 2:
> LC 8.1.7 rc-3; there is instability in retaining setups.  For example, 
> upgrading from the previous G version the path to SDK was lost.  Also various 
> setups seem to move, the background of the screen goes all grey.  Anyone 
> experiencing oddities like this?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Radio button scaling

2017-10-29 Thread Pyyhtiä Christer via use-livecode
1.  Question 1:

What is the problem with getting the radio buttons "tick boxes" scalable?

Trying to remember, I asked about it for a few years ago, and the answer by LC 
team was, it is about the icon??

I tried using switch button widgets, but the scaling of those isn't linear 
(width / height) as any other objects.

So, do I need to do my own radio buttons (i.e. use a round hilite button + text 
button) or would there be another solution?

2.  Question 2:

LC 8.1.7 rc-3; there is instability in retaining setups.  For example, 
upgrading from the previous G version the path to SDK was lost.  Also various 
setups seem to move, the background of the screen goes all grey.  Anyone 
experiencing oddities like this?


Christer Pyyhtiä
chris...@mindcrea.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode