| [news.eclipse.tools.gef] Re: can't get Rulers to correctly show centimeters and inches |
- Sean
When I call
RulerProvider.setUnits(RulerProvider.UNIT_CENTIMETERS) or
RulerProvider.setUnits(RulerProvider.UNIT_INCHES)
my horizontal and vertical rulers do not visually show Centimeters or Inches. There is just a '0' on one end, and the rest of the ruler is blank (white). UNIX_PIXELS works great. I added a RulerChangeListener, and I know that notifyUnitsChanged() is being called with the new units value. I have code identical to LogicRulerProvider in the logic example. Why aren't my rulers rendering correctly?
Thanks. - Sean