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 » Sun Aug 23, 2020 4:16 pm

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: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Answer dialog size

Post by Klaus » Sun Aug 23, 2020 5:14 pm

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 » Sun Aug 23, 2020 6:16 pm

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: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Answer dialog size

Post by richmond62 » Mon Aug 24, 2020 1:38 pm

Screenshot 2020-08-24 at 15.37.18.png
Attachments
Marmalade.livecode.zip
Here's the stack
(9.31 KiB) Downloaded 187 times

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

Re: Answer dialog size

Post by jessamy99 » Mon Aug 24, 2020 5:35 pm

I love Marmalade!!
:)

Jessamy

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Answer dialog size

Post by jmburnod » Mon Aug 24, 2020 5:37 pm

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: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Answer dialog size

Post by richmond62 » Mon Aug 24, 2020 7:47 pm

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: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Answer dialog size

Post by jmburnod » Wed Aug 26, 2020 11:01 pm

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: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Answer dialog size

Post by richmond62 » Thu Aug 27, 2020 9:03 am

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 193 times

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

Re: Answer dialog size

Post by jessamy99 » Mon Sep 07, 2020 8:36 pm

I think I started something here!!

Hahaha

Jessamy

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Answer dialog size

Post by richmond62 » Mon Sep 07, 2020 8:41 pm

Indeed.

But nothing that will hurt anyone. :D

Post Reply

Return to “iOS Deployment”