CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TextHorzAlign = jqlethaRight

by etwoss » 01 Dec 2017 14:55

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?
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 01 Dec 2017 15:09

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
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 04 Dec 2017 18:54

Hi Eric,

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

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQLabelEx

cron

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.