Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3816

MobileButton on iOS with Icon only

$
0
0

Hi,

is there a way to have a MobileButton on iOS with only an icon?
I want to create controls for a media player like this:

I tried to use the iOSDesignExtensions
with

PlayPauseButton.SetImageXC(Picture.SystemImage("play", 100))
PlayPauseButton.Caption = ""

Back10Button.SetImageXC(Picture.SystemImage("gobackward.10", 50))
Back10Button.Caption = ""

For10Button.SetImageXC(Picture.SystemImage("goforward.10", 50))
For10Button.Caption = ""

But it looks like this:

Bildschirmfoto 2024-08-15 um 14.56.56

The Buttons are rectangular (100x100 for the play button, 50x50 for the two other buttons)

Bildschirmfoto 2024-08-15 um 14.57.07

What am I doing wrong?

Thanks a lot.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3816

Trending Articles