Window Height=“Auto” not working as expected

后端 未结 4 911
执笔经年
执笔经年 2020-12-12 12:16

What I am trying to do is show a window, that does not explicitly have a height/width, (both values omitted or set to Auto). I was guessing that the window wou

4条回答
  •  情歌与酒
    2020-12-12 12:45

    Well you can't set the window height to auto, to do this you can use a little trick, name the main main grid container, set its height to auto then bind the window height to the height of the main grid

提交回复
热议问题