{"action":"created","issue":{"url":"https://api.github.com/repos/limemicro/lms7suite/issues/13","labels_url":"https://api.github.com/repos/limemicro/lms7suite/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/limemicro/lms7suite/issues/13/comments","events_url":"https://api.github.com/repos/limemicro/lms7suite/issues/13/events","html_url":"https://github.com/limemicro/lms7suite/issues/13","id":124167302,"number":13,"title":"LMS7002M GUI looks terrible on Ubuntu LTS 14.04","user":{"login":"guruofquality","id":184117,"avatar_url":"https://avatars.githubusercontent.com/u/184117?v=3","gravatar_id":"","url":"https://api.github.com/users/guruofquality","html_url":"https://github.com/guruofquality","followers_url":"https://api.github.com/users/guruofquality/followers","following_url":"https://api.github.com/users/guruofquality/following{/other_user}","gists_url":"https://api.github.com/users/guruofquality/gists{/gist_id}","starred_url":"https://api.github.com/users/guruofquality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruofquality/subscriptions","organizations_url":"https://api.github.com/users/guruofquality/orgs","repos_url":"https://api.github.com/users/guruofquality/repos","events_url":"https://api.github.com/users/guruofquality/events{/privacy}","received_events_url":"https://api.github.com/users/guruofquality/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/limemicro/lms7suite/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T06:00:31Z","updated_at":"2015-12-29T21:53:36Z","closed_at":null,"body":"I have noticed this for a while, but I finally tried to look into it because its making the testing near impossible. It looks like wxStaticBoxSizer does not take into account the size of its label, and all of the nested box-sizers gradually loose more and more screen space the deeper they nest... just a guess. But every tab, every dialog looks like this more or less.\r\n\r\n![Screenshot](http://i.imgur.com/eKo8XcI.png)\r\n\r\n@rjonaitis any ideas/hints?\r\n"},"comment":{"url":"https://api.github.com/repos/limemicro/lms7suite/issues/comments/167885920","html_url":"https://github.com/limemicro/lms7suite/issues/13#issuecomment-167885920","issue_url":"https://api.github.com/repos/limemicro/lms7suite/issues/13","id":167885920,"user":{"login":"rjonaitis","id":9800196,"avatar_url":"https://avatars.githubusercontent.com/u/9800196?v=3","gravatar_id":"","url":"https://api.github.com/users/rjonaitis","html_url":"https://github.com/rjonaitis","followers_url":"https://api.github.com/users/rjonaitis/followers","following_url":"https://api.github.com/users/rjonaitis/following{/other_user}","gists_url":"https://api.github.com/users/rjonaitis/gists{/gist_id}","starred_url":"https://api.github.com/users/rjonaitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjonaitis/subscriptions","organizations_url":"https://api.github.com/users/rjonaitis/orgs","repos_url":"https://api.github.com/users/rjonaitis/repos","events_url":"https://api.github.com/users/rjonaitis/events{/privacy}","received_events_url":"https://api.github.com/users/rjonaitis/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T21:53:36Z","updated_at":"2015-12-29T21:53:36Z","body":"The issue here seams to be related to GTK3, when wxWidgets are compiled with gtk3, the application style is affected by OS native look CSS. In this case it looks like the elements are created and layouted first, which sets their initial size, and only during rendering the css kicks in, but does not accommodate the elements size with the updated style.\r\n\r\nCurrent solution would be to use wxWidgets compiled with GTK2.\r\nAnother temporary solution could be add borders to elements inside wxStaticBoxSizers to artificialy increase their size, but that would mess up the layout in other environments."}}