Posted: Sun Nov 29, 2009 10:43 pm Post subject: How to align two/three label in left side
Hello, I defined two labels for Netscreen (CPU and Session utilization). Defaut status, the two labels seem align by 'center'. how can I align those two labels by 'left' side or 'right' side?
Joined: 16 Sep 2004 Posts: 3772 Location: United Kingdom
Posted: Mon Nov 30, 2009 3:11 am Post subject: Re: How to align two/three label in left side
jenchingyang wrote:
Hello, I defined two labels for Netscreen (CPU and Session utilization). Defaut status, the two labels seem align by 'center'. how can I align those two labels by 'left' side or 'right' side?
You can't align the text within the label. It is always centred. But the label size is adjusted to 2 pixels wider than the text, so there isn't much point.
Which makes me think I have misunderstood. Please post a picture
Posted: Mon Nov 30, 2009 7:30 pm Post subject: How to align two/three label in left side (cont.)
Hi Howie,
I put the picture below. If I need all labels align in right side. I must add some 'blank' between text and 'value'. let each column have same number of characters. but 'value' is variable. if CPU utilization change from 2% to 19%. the style will change again. Unless I adjust 'blank' between text and 'value'.
aligh issue.jpg
Description:
show the default align status and expect align status.