{"action":"opened","issue":{"url":"https://api.github.com/repos/shoes/shoes4/issues/1150","labels_url":"https://api.github.com/repos/shoes/shoes4/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/shoes/shoes4/issues/1150/comments","events_url":"https://api.github.com/repos/shoes/shoes4/issues/1150/events","html_url":"https://github.com/shoes/shoes4/issues/1150","id":96581437,"number":1150,"title":"Get information about screen dimensions through Shoes?","user":{"login":"michaelfward","id":6685617,"avatar_url":"https://avatars.githubusercontent.com/u/6685617?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelfward","html_url":"https://github.com/michaelfward","followers_url":"https://api.github.com/users/michaelfward/followers","following_url":"https://api.github.com/users/michaelfward/following{/other_user}","gists_url":"https://api.github.com/users/michaelfward/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelfward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelfward/subscriptions","organizations_url":"https://api.github.com/users/michaelfward/orgs","repos_url":"https://api.github.com/users/michaelfward/repos","events_url":"https://api.github.com/users/michaelfward/events{/privacy}","received_events_url":"https://api.github.com/users/michaelfward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-22T14:26:31Z","updated_at":"2015-07-22T14:26:31Z","closed_at":null,"body":"I have been digging through the code base for the past couple days (just made my upgrade to Shoes 4 this morning), trying to get the feel for the project, and I've had one thing sort of troubling me. Is there any way to reliable determine dimensions of the users screen, so that the buttons and whatnot on Shoes can be written to fit the window perfectly? For example, I used the buttons and a couple ugly hacks to create a \"toolbar\" type deal with File, Edit, etc options that you would find in most programs with a GUI. I really want to use Shoes regularly for my projects that require a GUI, but this is one small thing that bothers me enough to give me pause. For instance, I am currently initializing my GUI to be run in certain dimensions and then hard coding all of the elements dimensions in to be proportional to that, but if someone were to run my code with different screen dimensions than I, I'm not confident that my code would withstand that test and that kind of defeats the purpose. Any ideas?\r\n\r\nBy the way, I'm not very active in the open source community and am just starting out, so sorry if this was out of context / the wrong place to ask. \r\n\r\nCheers!\r\nMichael"}}