You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What environment? I just tested the height is automatically increased.
You can see ZHCMessagesComposerTextView methods of this class.
- (void)layoutSubviews
{
[super layoutSubviews];
// calculate size needed for the text to be visible without scrolling
CGSize sizeThatFits = [self sizeThatFits:self.frame.size];
float newHeight = sizeThatFits.height;
// if there is any minimal height constraint set, make sure we consider that
if (self.maxHeightConstraint) {
newHeight = MIN(newHeight, self.maxHeightConstraint.constant);
}
// if there is any maximal height constraint set, make sure we consider that
if (self.minHeightConstraint) {
newHeight = MAX(newHeight, self.minHeightConstraint.constant);
}
// update the height constraint
self.heightConstraint.constant = newHeight;
}
Hi Team,
Any solution to increase tool bar height, i tried preferredDefaultHeight but not working?
Thanks!
The text was updated successfully, but these errors were encountered: