diff --git a/src/Catty/Views/Custom/CollectionViewCells/BrickCellData/BrickCellTextData.m b/src/Catty/Views/Custom/CollectionViewCells/BrickCellData/BrickCellTextData.m index 7411bc8d4b..a061942312 100644 --- a/src/Catty/Views/Custom/CollectionViewCells/BrickCellData/BrickCellTextData.m +++ b/src/Catty/Views/Custom/CollectionViewCells/BrickCellData/BrickCellTextData.m @@ -153,6 +153,12 @@ - (void)correctHeightAndWidth:(NSInteger) availableHeight newFrame.size.height = availableHeight; self.frame = newFrame; } + if (self.frame.size.width < UIDefines.brickInputFieldMinWidth) + { + CGRect newFrame = self.frame; + newFrame.size.width = UIDefines.brickInputFieldMinWidth; + self.frame = newFrame; + } if (self.frame.origin.x + self.frame.size.width + 60 > [Util screenWidth]) { self.frame = CGRectMake(self.frame.origin.x,self.frame.origin.y,[Util screenWidth] - 60 - self.frame.origin.x, self.frame.size.height); }