{"action":"created","issue":{"url":"https://api.github.com/repos/duilib/duilib/issues/38","labels_url":"https://api.github.com/repos/duilib/duilib/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/duilib/duilib/issues/38/comments","events_url":"https://api.github.com/repos/duilib/duilib/issues/38/events","html_url":"https://github.com/duilib/duilib/issues/38","id":114958624,"number":38,"title":"容器滚动条的问题","user":{"login":"heiyun1270","id":8703524,"avatar_url":"https://avatars.githubusercontent.com/u/8703524?v=3","gravatar_id":"","url":"https://api.github.com/users/heiyun1270","html_url":"https://github.com/heiyun1270","followers_url":"https://api.github.com/users/heiyun1270/followers","following_url":"https://api.github.com/users/heiyun1270/following{/other_user}","gists_url":"https://api.github.com/users/heiyun1270/gists{/gist_id}","starred_url":"https://api.github.com/users/heiyun1270/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiyun1270/subscriptions","organizations_url":"https://api.github.com/users/heiyun1270/orgs","repos_url":"https://api.github.com/users/heiyun1270/repos","events_url":"https://api.github.com/users/heiyun1270/events{/privacy}","received_events_url":"https://api.github.com/users/heiyun1270/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T02:57:59Z","updated_at":"2015-11-04T03:31:36Z","closed_at":null,"body":"因为不知道是不是刻意为之所以这里只说是问题，而不是BUG。\r\n现象：\r\nHorizontalLayout 开启垂直滚动条无用，不显示\r\nVerticalLayout 开启水平滚动条有显示，但范围不对\r\nContainer 开启滚动条无效，SetPos中没有执行ProcessScrollBar\r\n\r\n个人意见，不同容器应该只是布局方式不同，而与滚动条无关。所有容器的双向滚动条都应该正确支持，由用户开关。这样更方便灵活。"},"comment":{"url":"https://api.github.com/repos/duilib/duilib/issues/comments/153561196","html_url":"https://github.com/duilib/duilib/issues/38#issuecomment-153561196","issue_url":"https://api.github.com/repos/duilib/duilib/issues/38","id":153561196,"user":{"login":"wangchyz","id":156612,"avatar_url":"https://avatars.githubusercontent.com/u/156612?v=3","gravatar_id":"","url":"https://api.github.com/users/wangchyz","html_url":"https://github.com/wangchyz","followers_url":"https://api.github.com/users/wangchyz/followers","following_url":"https://api.github.com/users/wangchyz/following{/other_user}","gists_url":"https://api.github.com/users/wangchyz/gists{/gist_id}","starred_url":"https://api.github.com/users/wangchyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangchyz/subscriptions","organizations_url":"https://api.github.com/users/wangchyz/orgs","repos_url":"https://api.github.com/users/wangchyz/repos","events_url":"https://api.github.com/users/wangchyz/events{/privacy}","received_events_url":"https://api.github.com/users/wangchyz/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T03:31:36Z","updated_at":"2015-11-04T03:31:36Z","body":"1、HorizontalLayout 开启垂直滚动条无用，不显示\r\n  这个问题估计是因为HorizontalLayout会默认把子控件拉到和自己高度一样，所以也不需要滚动条，设置子控件的minwidth或者float=\"true\"估计就可以看到了\r\n2、VerticalLayout的水平滚动条计算比较复杂，所以做了简化处理，把范围设置工作交给用户\r\n3、Container只是一个透明容器，一般不做显示用，如果不是对库很熟悉，还是少用"}}