Skip to content

建议:ComboBox 下拉框最低宽度限制为控件等宽 #550

Description

@cuiliang

如果控件比较长,而选项长度比较短,会带来这个问题:
展开下拉框后,鼠标需要向左移动很长距离才能选择选项;比较窄的下拉框也不是很方便选择。

如果将 hc:DropDownElement.ConsistentWidth 设置为True,则会导致较长的选项无法完整显示。

我试了一下WPF的原生ComboBox,下拉框最低宽度和控件本身是一样的,选项内容较长时又会自动加宽。 目前咱们的这个似乎没法通过选项达到这个效果。

ComboBox下拉框

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions