GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
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
Iniciado por Popoy, mar., 07 2020 7:42 PM - 3 respostas
Conecte-se…
Popoy
#1
Membro registado
3.311 mensagems
Popularité : +93 (137 votes)
Publicado em março, 07 2020 - 7:42 PM
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
Denunciar
0
0
ARV
#2
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em março, 09 2020 - 2:34 PM
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
Denunciar
0
0
Popoy
#3
Membro registado
3.311 mensagems
Popularité : +93 (137 votes)
Publicado em março, 10 2020 - 9:11 PM
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.
Denunciar
0
0
ARV
#4
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em março, 11 2020 - 2:19 PM
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
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto