[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] can't get Rulers to correctly show centimeters and inches

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