Community
Participate
Working Groups
Since we can detect what locale we are in, if the page size is A4/centimeters the grid should also be centimetres.
(In reply to comment #0) > Since we can detect what locale we are in, if the page size is A4/centimeters > the grid should also be centimetres. > from what I see, despite the page size, the unit will always either be in inches or millimeters. furthermore taking a closer look at DefaultValues.java , inches will always be set to default. the locale will only affect page size, that is US / Canada = Letter, everything else being A4 the property section for grids and rulers only support inches, centimeters, and pixels, so i'm not sure it logically makes sense to change everything (even though the fix should be very simple should there be one) what we could do is follow along with the default values, that is, if it's US/Canada, we default to inches for rulers and grids. otherwise we default to centimeters (notice no matter what, the page would still either be in inches or millimeters)
(In reply to comment #1) > what we could do is follow along with the default values, that is, if it's > US/Canada, we default to inches for rulers and grids. otherwise we default to > centimeters (notice no matter what, the page would still either be in inches or > millimeters) > Exactly what I think we want.
Created attachment 82259 [details] Proposed patch Added a simple check to the rulers RulerGridPreferencePage. Checks if locale is us/canada, is so, set default to inches, otherwise, it's centimeters
Committed to HEAD
[target cleanup] 2.1 M4 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug