FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Change the horizontal alignment of a Label by programming in iOS
Change the horizontal alignment of a Label by programming in iOS
Débuté par Popoy, 07 mar. 2020 19:42 - 3 réponses
Connectez-vous…
Popoy
#1
Membre enregistré
3 334 messages
Popularité : +93 (137 votes)
Posté le 07 mars 2020 - 19:42
Hello,
When initializing a label I have the following code:
MySelf
..
HorizontalAlignment
=
haRight
And I would like to find its equivalent for iOS even in swift or Objective C
Thank you for your help
Signaler
0
0
ARV
#2
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 09 mars 2020 - 14:34
Hi Popoy
I search this property and I see it's available for iOS
source:
https://help.windev.com/en-US/…
there's a problem with that property on iOS?
--
Best Regards
ARV
Signaler
0
0
Popoy
#3
Membre enregistré
3 334 messages
Popularité : +93 (137 votes)
Posté le 10 mars 2020 - 21:11
Thanks ARV
My horizontal framing problem is solved.
These were not errors but warnings that the constants do not exist on iOS.
I replaced haLeft by 0 and haRight by 2 and it works on my iphone 8.
Why were the constants not created for ios?
Proof that the pcsoft tests leave something to be desired.
Signaler
0
0
ARV
#4
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 11 mars 2020 - 14:19
Hi Popoy
Oh I see what you mean!
you were talking about the constants of haLeft and haRight not the property
I follow what PCSoft say on this source:
https://help.windev.com/en-US/…
They put the constant but they doesn't say anything about iOS where those constant are not available, that's really weird but thanks for post your solution this will be a solution for me in some time in the future or even someone having the same problem as you right now.
Also why you don't set it on the control instead of set it on code?
There's a visual effect you want to show to the user?
--
Best Regards
ARV
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte