Answer dialog size

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Answer dialog size

Post by jessamy99 »

Hi Team,

I have a little hitch happening.
When I use the "ask" or "answer" dialog boxes, the text appears very small on the latest iPad running iOS 13.

Is there a simple way to resize them?

At the moment I have replaced them with fields and buttons.
But I am sure there is something simple I could be doing.

All ideas will be gratefully received!!

All the best,
Jessamy

Mac Mojave 10.14.6
LiveCode 9.6.1 Rc2
Xcode 11.3
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Answer dialog size

Post by Klaus »

Hi jessamy,

on iOS and Android, the ASK and ANSWER dialogs are provided by the underlying OS, so no way to modify these dialogs.


Best

Klaus
jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Answer dialog size

Post by jessamy99 »

Thankyou Klaus!

I will continue using a field and buttons then!

All the best!
Jessamy.

Ps. I hope all of you are keeping well!
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Answer dialog size

Post by richmond62 »

Screenshot 2020-08-24 at 15.37.18.png
Attachments
Marmalade.livecode.zip
Here's the stack
(9.31 KiB) Downloaded 384 times
jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Answer dialog size

Post by jessamy99 »

I love Marmalade!!
:)

Jessamy
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Answer dialog size

Post by jmburnod »

Hi Jessamy,
Please forget Richmond's marmalade
I will continue using a field and buttons
Yes.
In your case i often use a group for custom dialog.
Best regards
Jean-Marc
https://alternatic.ch
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Answer dialog size

Post by richmond62 »

Please forget Richmond's marmalade
`
In your case i often use a group for custom dialog.
And why?

An image guarantees consistency in terms of everything (including fonts) cross-platform.
-
gM.jpg
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Answer dialog size

Post by jmburnod »

Hi Richmond,
I think images are not a good way to create dialogs.
If there is several dialogs you have to create one image for each dialog with a signifiant name etc...
Using a group is more flexible and lisible. We can just change the content and keep the structure for other stacks.
An image guarantees consistency in terms of everything (including fonts) cross-platform.
I heard the fonts issues and I understand images are very useful for people working with some langage (I think particulary sanscrit langage).
Kind regards
Jean-Marc
https://alternatic.ch
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Answer dialog size

Post by richmond62 »

If there is several dialogs you have to create one image for each dialog with a signifiant name etc...
J'ai fait une image pour chaque dialogue . . . ce n'est pas fatigant. 8)
-
Screenshot 2020-08-27 at 11.52.51.png
-

Code: Select all

on mouseEnter
   set the colorOverlay["color"] of me to red
   set the colorOverlay["opacity"] of me to 100
end mouseEnter

on mouseLeave
   set the colorOverlay["opacity"] of me to 0
end mouseLeave

on mouseUp
   ---do something
   hide img "qq"
   hide img "nope"
   hide img "yup"
end mouseUp
Attachments
silly question.livecode.zip
Here's the stack
(6.6 KiB) Downloaded 401 times
jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Answer dialog size

Post by jessamy99 »

I think I started something here!!

Hahaha

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

Re: Answer dialog size

Post by richmond62 »

Indeed.

But nothing that will hurt anyone. :D
Post Reply