如何说服 WPF (Blend) 设计师使用面板和布局?
在 Blend 中,一旦插入控件(如按钮)并开始将其拖动到窗口/网格/任何内容上,您就会获得硬编码的边距和宽度/高度。
因此,与我合作的设计师最终创建了漂亮的静态图片,而在我这边,一旦一个数据绑定字符串比示例字符串长,这些图片就会崩溃。或者如果字体大小增加。文本最终会被剪切或无法阅读。
混合使得制作严格但漂亮的设计变得如此容易,以至于我很难向我的设计师推销对使用样式和面板的更复杂设计工作的需求。到目前为止,我只看到一个选择——让设计最终在客户现场失败,并让设计师从失败中吸取教训。当然,仅仅利用客户的不良体验来教育设计师并不是一个很好的解决方案。
您在这方面有哪些经验和建议?
In Blend, as soon as you insert a control (like Button) and start dragging it onto Window/Grid/whatever you get hard-coded margins and width/height.
Thus designer that I work with ends up creating beautiful static pictures that, on my side, fall apart as soon as one data-bound string is longer than the sample ones. Or if font size gets increased. Text ends up clipped or otherwise unreadable.
Blends makes it so easy to make rigid, but pretty designs, that I have a hard time selling the need for a more complex design work, using styles and panels, to my designer. By now I see only one option - let design eventually fail at customer's site and have designer learn the lesson from that failure. Of course, it is not a great solution to use customer's bad experience just to educate designer.
What are your experiences and suggestions in this area?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果有意义,请用“...”剪辑长字符串,
否则,将示例数据更改为与最大允许值相同的长度。
您甚至可以使用多个示例数据源:一种用于最小长度,一种用于平均长度,一种用于最大长度。请设计师使用每一项检查布局。
If it would make sense, clip long strings with '...'
Otherwise, change the sample data to be the same length as maximum allowed values.
You can even use multiple sample data sources: one for minimum lengths, one for average lengths, and one for maximum lengths. Ask the designer to check the layout using each one.