What's normalButtonSize ?
I'm assuming it's huge on iOS.

On Saturday, May 1, 2021 at 5:36:05 PM UTC+3 P5music wrote:

> Here are the images (see previous message)
> Regards
> Il giorno sabato 1 maggio 2021 alle 14:09:35 UTC+2 P5music ha scritto:
>
>> My CN1 app has some buttons on the interface with images created with the 
>> Flamingo tool, that is, they are created in Java code from SVG files.
>> On the simulator and on Android the user interface is almost good, with 
>> right buttons image (see attached image 
>> right_button_image_dimension_example.png)
>>
>> On iOS the buttons have the right size but the images are huge or tiny
>> (see attached image wrong_button_image_dimension_example
>> for the huge case)
>>
>> This is the code for the most recognizable one:
>> saveIconImageSoliciting=new SaveIconSoliciting().scaled(normalButtonSize,
>> normalButtonSize).toImage();
>> saveButton=new ScaleImageButton(saveIconImageSoliciting);
>> where
>> SaveIconSoliciting is the class created by Flamingo.
>>
>> see also these thread
>>
>> https://groups.google.com/g/codenameone-discussions/c/K94DFhApfRY/m/CD3ISV3RBgAJ
>> Can my app be affected by that on iOS?
>> Otherwise what could be the cause and how to fix?
>> Thanks in advanvce
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1866bb9b-2beb-47d9-8726-78055de982f4n%40googlegroups.com.

Reply via email to