如何说服 WPF (Blend) 设计师使用面板和布局?

发布于 2024-09-19 15:32:28 字数 321 浏览 2 评论 0原文

在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

徒留西风 2024-09-26 15:32:28

如果有意义,请用“...”剪辑长字符串,

否则,将示例数据更改为与最大允许值相同的长度。

您甚至可以使用多个示例数据源:一种用于最小长度,一种用于平均长度,一种用于最大长度。请设计师使用每一项检查布局。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文