{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/scenery-phet/issues/8","labels_url":"https://api.github.com/repos/phetsims/scenery-phet/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/scenery-phet/issues/8/comments","events_url":"https://api.github.com/repos/phetsims/scenery-phet/issues/8/events","html_url":"https://github.com/phetsims/scenery-phet/issues/8","id":18694152,"number":8,"title":"Ruler should be made to handle translation better","user":{"login":"jbphet","id":3082831,"avatar_url":"https://avatars.githubusercontent.com/u/3082831?v=3","gravatar_id":"","url":"https://api.github.com/users/jbphet","html_url":"https://github.com/jbphet","followers_url":"https://api.github.com/users/jbphet/followers","following_url":"https://api.github.com/users/jbphet/following{/other_user}","gists_url":"https://api.github.com/users/jbphet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbphet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbphet/subscriptions","organizations_url":"https://api.github.com/users/jbphet/orgs","repos_url":"https://api.github.com/users/jbphet/repos","events_url":"https://api.github.com/users/jbphet/events{/privacy}","received_events_url":"https://api.github.com/users/jbphet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/scenery-phet/labels/Summer%202015%20redeploy","name":"Summer 2015 redeploy","color":"5319e7"},{"url":"https://api.github.com/repos/phetsims/scenery-phet/labels/translation","name":"translation","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2013-08-28T20:43:50Z","updated_at":"2015-07-03T16:48:30Z","closed_at":null,"body":"This issue was moved from the Gravity Force Lab sim, where it was entitled, \"Ruler should only have markings on the top\".  The motive for this request was that the current version may not work well if some language has a longer word for \"meters\" than the English version (see screenshot).\r\n\r\n![ruler-pic](https://f.cloud.github.com/assets/3082831/1045276/6b1f9d98-1022-11e3-8724-e89482190309.png)\r\n\r\nHere is the history of the issue as logged originally on the GFL sim:\r\n\r\njbphet opened this issue late July 2013\r\nTitle: Ruler should only have markings on the top\r\n\r\nIn the current version of Gravity Force Lab, the ruler has marks on both the top and bottom. In the spec, they are only on the top.\r\n\r\njbphet commented in late July 2013\r\nVasily - Hold off on working on this one for now. I'll figure out who should modify RulerNode.js so that it can support markings on one side.\r\n\r\npixelzoom commented mid-August 2013\r\nBefore I go adding this functionality to RulerNode... Why is this needed? The original (Scala) sim has a ruler with tick marks at the top and bottom. And if you're on a desktop machine and measuring the distance between the vetical dashed lines, it's convenient to have tick marks at the top and bottom of the ruler. So why do we need a ruler that has tick marks only at the top? And is that really a requirement for this sim?\r\n\r\nariel-phet commented mid-August 2013\r\nTo clarify, it is not so important that there are tick marks only at the top of the ruler... The issue is that if \"meters\" is translated to long text it will visually interfere with either the \"0\" or the \"1\"... so really we ideally want a ruler that is designed to support translation better. Tick marks only on the top would solve this issue, but may not be the best solution.\r\n\r\npixelzoom commented mid-August 2013\r\nWell, i18n is always going to be a problem. So I don't think an option to remove bottom tick marks makes sense. Either remove them always, or design a ruler that can accommodate both bottom tick marks and localized units.\r\n\r\nariel-phet commented mid-August 2013\r\nI agree that would be the correct solution is to design such a ruler\r\n"},"comment":{"url":"https://api.github.com/repos/phetsims/scenery-phet/issues/comments/118391449","html_url":"https://github.com/phetsims/scenery-phet/issues/8#issuecomment-118391449","issue_url":"https://api.github.com/repos/phetsims/scenery-phet/issues/8","id":118391449,"user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T16:48:30Z","updated_at":"2015-07-03T16:48:30Z","body":"I reviewed the code, looks overall good. But @jbphet why are you using `scale` instead of the new `maxWidth` property of Node?"}}