tilesfx icon indicating copy to clipboard operation
tilesfx copied to clipboard

Table skin, and a few added properties

Open alessandroRoaro opened this issue 4 years ago • 0 comments

Hi HanSolo, like I mentioned yesterday I am also sending you the code for the TableTileSkin. Columns can be set via tableColumns property, and items via tableItems.

I have also added two other properties, which are used in TileSkin when drawing:

  • contentFill fills the view without taking into account top and bottom offsets (useful for example with image)
  • insetsEnabled - if enabled, insets are 0.

I added a null check in SmoothAreaChartTileSkin because it was crashing if when init the width and height of view were 0. When drawChart would becalled, points list would contain one element which would have NaN values, and after the Helper.subdividePoints it would have null items.

I decided not to pull your changes to keep the flat LED, so please bear patience with code that needs to be removed, in case you want to accept this pull request.

Cheers!

alessandroRoaro avatar Jan 23 '20 16:01 alessandroRoaro