Tablepedia / V2-Beta

Issue tracking for Tablepedia V2
0 stars 0 forks source link

Improve Create/Edit Row (cell/textarea height calculation) #35

Closed contreras-jorgev closed 8 years ago

contreras-jorgev commented 8 years ago

On an edit row, we currently show two cells, with 3 line-height each.

Possibilities:

  1. Find a way to compute the height, given the text - (may be by measuring the string of the text, we can come up formula to add more lines when there is more text).
  2. We may start with cell 1 - 3 lines height, cell 2 - 6 lines height.
  3. Allow resizing the textarea (devices with mouse)

Think of more options.

contreras-jorgev commented 8 years ago

http://stackoverflow.com/questions/995168/textarea-to-resize-based-on-content-length

https://github.com/jackmoore/autosize

contreras-jorgev commented 8 years ago

Change title color of first cell. Change the background color of the second cell. Add 'placeholder' hint - like "Enter row content here"