Set label width in Work Item Type editor
-
Friday, May 11, 2012 12:00 PM
Hi,
in my customized work item types I use label texts that exceed the default width. Therefore the text is cutted off. Can I define the width of control labels in work itemtype editor? I can see only a seeting named "Label Position" that defines, whether the label is aligned left and so on.
I've also played around with the margin of the control but without any effect.Any help would be appreciated.
Regards, Matze
All Replies
-
Friday, May 11, 2012 12:57 PM
Hi Matze,
Not directly on the label, it will only give you the position property to play with. You can however add the label under the <column></column> you have the percentageWidth property here to play around with. This will let you streach the column width to meet your needs.
A sample here. http://msdn.microsoft.com/en-us/library/ms404858.aspx
HTH
Cheers, TarunPlease remember to mark the replies as answers if they help.
Blog: http://geekswithblogs.net/TarunArora
Subscribe in a reader -
Monday, May 14, 2012 2:01 AMModerator
Hi Matze,
Thanks for your post.
For this issue, as Tarun said, we can set the Column’s percentWidth, then add the Control under this Column. Please refer the answer in this similar post: http://social.msdn.microsoft.com/Forums/da-DK/tfspowertools/thread/497af44c-8cb5-4a39-822f-e3f5c3b48c92.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
Monday, May 14, 2012 4:55 AM
Hi Tarun,
if I understand your approach correctly you would place the label in a left column and the related control in a right column.
But there's no label control. Also I can't add a control and use its label only since I have to specify the related field for each control (cannot be left empty).
Do I have to use a custom control again?TIA, Matze
Regards, Matze
-
Tuesday, May 15, 2012 7:28 AMModerator
Hi Matze,
Thanks for your reply.
As far as I know, we can’t only define the width of control label in work item type editor.
In this scenario, I suggest you use the shorter text in label for your control.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by John QiaoMicrosoft Contingent Staff, Moderator Friday, May 18, 2012 7:24 AM


