Page 1 of 1

TextHorzAlign = jqlethaRight

PostPosted: 01 Dec 2017 14:55
by etwoss
Hi

3 Labels, all on sme positio, align right:

object lblTotalContractualVariancePercNetto: TIWCGJQLabelEx
Left = 473
Top = 141
Width = 38
Height = 15
TabOrder = 47
Font.Color = clWebGRAY
Font.Enabled = True
Font.Size = 8
Version = '1.0'
Text = ''
TextEx.Strings = (
'Net')
TextHorzAlign = jqlethaRight
end
object lblTotalContractualVariancePercTax: TIWCGJQLabelEx
Left = 473
Top = 157
Width = 38
Height = 15
TabOrder = 48
Font.Color = clWebGRAY
Font.Enabled = True
Font.Size = 8
Version = '1.0'
Text = ''
TextEx.Strings = (
'Net'
'')
TextHorzAlign = jqlethaRight
end
object lblTotalContractualVariancePercBruto: TIWCGJQLabelEx
Left = 473
Top = 176
Width = 38
Height = 15
TabOrder = 49
Font.Color = clWebGRAY
Font.Enabled = True
Font.Size = 8
Version = '1.0'
Text = ''
TextEx.Strings = (
'Net')
TextHorzAlign = jqlethaRight
end


I expected them (0, 100 en 20%) to be aligned right, why is it not?

Re: TextHorzAlign = jqlethaRight

PostPosted: 01 Dec 2017 15:09
by etwoss
Hi

In this case , giving the controls more width solves the problem. However i did not expect them to align right even when there is not enough room

Eric

Re: TextHorzAlign = jqlethaRight

PostPosted: 04 Dec 2017 18:54
by Alexander Bulei
Hi Eric,

if you set the TextHorzAlign to jqlethaRight, they will be always aligned to right.

Best Regards.