编辑控件和MaskedEdit控件之间的Wix UI区别

时间:2014-01-21 10:46:55

标签: wix installer

任何人都知道Edit Control和MaskedEdit Control之间的UI外观差异?

enter image description here

我怎么能让它们看起来一样?

1 个答案:

答案 0 :(得分:2)

很长一段时间以来,这个问题得到了回答,但是对于那些偶然发现这个问题的人来说......

我能做的最好的事情是让控件稍微小一点并将sunken属性设置为true:

<Control Id="ServerPort" Type="MaskedEdit" Height="17" Width="30" Property="DATABASE_PORT" Text="#####" Sunken="yes" />

enter image description here

有兴趣知道现在是否有更好的方法。

相关问题