设置 TFS 工作项中控件的 MaximumSize 属性
使用的工具:
Visual Studio 2008 SP1
Team Explorer
Team Foundation Server Power Tools 2008 年 10 月发布。
使用 Visual Studio 中的流程编辑器,我尝试设置 WorkItem 模板中的控件的 MinimumSize 属性,以使输入区域的默认大小更大。
我根据此网站设置属性:
无论我将这个属性设置为什么都没有影响。我尝试过使用和不使用 () 来设置属性。我尝试过该属性的不同大小写,但没有运气。
我已验证关联的 xml 文件中是否正确设置了 MaximumSize 属性。
该控件 (HtmlFieldControl) 当前设置为选项卡页上的第二个子控件。 (第一个控件也是 HtmlFieldControl。)我尝试向选项卡页添加一个组,使得层次结构为 TabPage->Group->Column->Control,但没有成功。我也尝试过设置第一个控件的属性,但没有成功。
知道我做错了什么吗?
Tools used:
Visual Studio 2008 SP1
Team Explorer
Team Foundation Server Power Tools October 2008 Release.
Using the Process Editor in Visual Studio, I am attempting to set the MinimumSize attribute for a control in a WorkItem template to make the default size of the input area larger.
I am setting the attribute according to this website:
No matter what I set this attribute to it has no affect. I have tried setting the attribute with and without surrounding (). I've tried different capitalization of the attribute but no luck.
I have verified that the MinimumSize attribute is being correctly set in the associated xml file.
The control (HtmlFieldControl) is currently setup as the second child on a Tab Page. (The first control is also an HtmlFieldControl.) I've tried adding a group to the Tab Page such that the hierarchy is TabPage->Group->Column->Control with no success. I've also tried setting the attribute for the first control with no luck.
Any idea what I am doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,当您在流程编辑器中预览表单时,它不支持“MinimumSize”标志。当我将新的工作项模板上传到 TFS 服务器后,它就会正确显示。
It turns out that when you preview the form in the process editor it doesn't honor the MinimumSize flag. Once I uploaded the new work item template to the TFS server it showed up correctly.