Situation:
a) I have in a B4XPage, a TabStrip with 5 Tabs
b) I need to resize the view fonts on each Tab
I did this but it doesn't work:
c) I also can't manage to "change" the font size of the view "B4XComboBox"
Greetings
a) I have in a B4XPage, a TabStrip with 5 Tabs
b) I need to resize the view fonts on each Tab
I did this but it doesn't work:
Class_Globals:
Sub Class_Globals
Private Root As B4XView 'ignore
Private xui As XUI 'ignore
Private TabCobros As TabStrip
Private B4XPageIndicator1 As B4XPageIndicator
Private lblFecha As Label
Private lblImporte As Label
Private lblConcepto As Label
Private lblCambio As Label
Private lblDetalle As Label
Private lblConta As Label
Private Label14 As Label
Private edtImporte As EditText
Private B4XComboBox1 As B4XComboBox
Private edtCambio As EditText
Private edtDetalle As EditText
Private lblCtaConta As Label
End Sub
Sub B4XPage_Created:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("pntMediosDeCobro")
TabCobros.LoadLayout("tabMedioCobroEFE", "Efectivo")
TabCobros.LoadLayout("tabMedioCobroCHE", "Cheque")
TabCobros.LoadLayout("tabMedioCobroTAR", "Tarjeta")
TabCobros.LoadLayout("tabMedioCobroDEP", "Depósito")
TabCobros.LoadLayout("tabMedioCobroRET", "Retención")
Sleep(0)
'Ajusto tamaños de fuentes SIN importar el tamaño de fuente elegida por el Usuario...
lblFecha.TextSize = lblFecha.TextSize/Main.pSysFontScale
lblImporte.TextSize = lblImporte.TextSize/Main.pSysFontScale
lblConcepto.TextSize = lblConcepto.TextSize/Main.pSysFontScale
lblCambio.TextSize = lblCambio.TextSize/Main.pSysFontScale
edtImporte.TextSize = edtImporte.TextSize/Main.pSysFontScale
lblConta.TextSize = lblConta.TextSize/Main.pSysFontScale
'B4XComboBox1.TextSize = B4XComboBox1.TextSize/Main.pSysFontScale
edtCambio.TextSize = edtCambio.TextSize/Main.pSysFontScale
edtDetalle.TextSize = edtDetalle.TextSize/Main.pSysFontScale
lblCtaConta.TextSize = lblCtaConta.TextSize/Main.pSysFontScale
End Sub
c) I also can't manage to "change" the font size of the view "B4XComboBox"
Greetings