Commit Graph
27 Commits
Author SHA1 Message Date
subdiox 7936d1ca43 fix conflict on merge 2019-02-27 09:39:36 +09:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
subdiox c9c8f356c4 fix duplicate modifier 2019-02-19 18:35:50 +09:00
subdiox cfacf94a52 fix for pull request 2019-02-19 18:30:52 +09:00
subdiox 31db3f9983 added AccessoryViewPosition parameter 2019-02-18 22:35:42 +09:00
Nathan TannarandSteven Deutsch d5b93a6562 Add Leading/Trailing padding to AvatarPosition (#944)
* Rework of avatar padding

* Use avatarLeadingTrailingPadding

* Undo edit in example

* Include changelog
2018-12-20 12:16:08 -06:00
Maxim TsvetkovandSteven Deutsch 32ecab3066 Enhancement/add another bottom label to the cell (#920)
* Rename cell bottom label stuff which actually conforms to message bottom label stuff

* Add cell bottom label methods for flow layout, data source and delegates

* Add vars for cell bottom label alignment and size

* Add cell bottom label into message content cell and set layout for label

* Set attributes for cell bottom label
Add cell bottom label attributes into calculation of cell content height

* Update example project to display cell bottom label

* Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)

* Revert "Set avatar position to messageBottom in example project to display avatar with cell bottom label more pleasant  (cosmetic change)"

This reverts commit d8d215518a.

* Fix comment to capitalize word

* Add cell bottom label after message bottom label in message content cell

* Update changelog

* Calculate Y position of cell bottom label as max Y position of message bottom label

* Move layout calculation of cell bottom label after layout calculation of message bottom label (because layout calculation of cell bottom label depends on layout calculation of message bottom label  now)

* Update breaking changes in changelog
2018-11-23 14:27:17 -06:00
Marius SerbanandSteven Deutsch 4156260d93 allow dynamic avatar size per message size calculator (#898)
* allow dynamic calculation of avatar size

instead of having the same avatar size per size calculator, allow a subclass to override it so it can provide multiple avatar sizes depending on the message

* make sizing functions overridable by subclasses
2018-10-16 15:58:22 -05:00
Nathan Tannar 197ec8b0d5 Final tweak to layout 2018-10-13 11:30:43 -07:00
Nathan Tannar 2e6de00785 Horizontal Padding only for accessoryView 2018-10-11 22:21:16 -07:00
Julien K bc70b5bccc [Accessoryview] Fix 2018-10-04 16:43:56 +02:00
Shawn Gong 9c3032d8f7 Don’t ignore size calculation on zero size, and consider accessoryView height 2018-06-02 22:15:19 -07:00
Shawn Gong 7fde2fdc26 mimic avatar 2018-06-02 19:11:19 -07:00
Shawn Gong 9c23282d07 Add customizable accessoryView besides messageContainer 2018-06-02 02:10:51 -07:00
Steven Deutsch a6a5908276 Revert .bottom change and remove arg 2018-04-26 03:22:53 -05:00
Steven Deutsch a6473c673e Rename cellBottomLabel 2018-04-26 02:51:41 -05:00
Steven Deutsch 02805c748a Fix cellContentHeight calculations 2018-04-20 03:40:37 -05:00
zhongwuzw edd79fb3ae Add cellTop/messageLabelTop/cellBottom case for avatar vertical position 2018-04-18 17:24:53 +08:00
zhongwuzw 56418d2c70 Add cellTopLabel and rename topLabel to messageTopLabel 2018-04-16 18:40:58 +08:00
zhongwuzw 99bb911c03 Reduce the number of calculation for label size 2018-04-12 23:32:16 +08:00
Corey Walo b646060bc5 Updated access control from review 2018-04-07 18:23:43 -05:00
Corey Walo 1038b96d01 Update access control
These are necessary to create custom cells that rely on the existing layout mechanisms.
2018-04-06 16:15:52 -05:00
zhongwuzw d2ce5877f9 Transform CellSizeCalculator from protocol to class 2018-03-31 16:03:35 +08:00
Steven Deutsch b9c626d405 Add CHANGELOG entry for #580 2018-03-24 03:52:35 -05:00
Steven Deutsch 66ed7a0817 Modify default behavior for insets and height 2018-03-24 03:52:35 -05:00
Steven Deutsch 4f2fd52465 Stop sizing cell labels to fit text 2018-03-24 03:52:35 -05:00
Steven Deutsch 86f9372d44 Add size calculators 2018-03-24 03:52:35 -05:00