VisiCut icon indicating copy to clipboard operation
VisiCut copied to clipboard

MappingItem preview texts

Open mgmax opened this issue 11 years ago • 2 comments

The preview texts like "line width <= 0.2" or "fill color #fff00" are different in many places, they should be put into one function (maybe with a parameter to enable/disable HTML) so that they are the same everywhere in the program

Testcase: line width <= 0.2 from an Inkscape drawing

  • "Select filter" tree-view edit box is okay
  • Custom Mapping table shows "line width 0.20000000298..."
  • Custom Mapping table tooltip shows "line width <= 0.2" correctly
  • Laser Settings tab shows "=" instead of "<="

Testcase: color red Some places show the hex value and the coloured box, others only the coloured box, the tooltip only the hex value

mgmax avatar Mar 14 '13 21:03 mgmax

i agree.... feel free to implement ;)

t-oster avatar May 07 '13 13:05 t-oster

To add to this, for the Laser Settings tab it's important that multiple can be shown. So this same function would be called multiple times and a "," could be added.

So we need functions like: String getFilterDescription(..., boolean useHTML); String getProfileUsageDescriptions(..., boolean useHTML);

peteruithoven avatar May 22 '13 14:05 peteruithoven