ctn-archive / nengo_gui_2014

HTML5 graphical interface for Nengo -- now obsolete! Please use https://github.com/nengo/nengo_gui instead
Other
6 stars 0 forks source link

make nice labels #10

Closed celiasmith closed 10 years ago

celiasmith commented 10 years ago

This should resize appropriately. What does that mean?

  1. Labels get relatively bigger as you zoom out so you can still read them
  2. Labels have a maximum number of chars, and then '...' this might be relative to the current zoom level, given 1
  3. Inside or below the labeled item? (Might depend on #9)
celiasmith commented 10 years ago

Moved labels below icons 58a2733b1e19e28a97a697d3e12d32dd2299266c

celiasmith commented 10 years ago

Labels are now nice. Properties:

  1. No max size (or '...')
  2. Minimum font size (so they get relatively bigger past some zoom)
  3. Positioned well and sensitive to zoom
  4. Disappear on populations (not networks) past a certain zoom here a10056be806824aec479e657f5c79d33b6cd23b8