diff --git a/iphone/Maps/UI/Editor/Cells/MWMNoteCell.m b/iphone/Maps/UI/Editor/Cells/MWMNoteCell.m index 8839fa549d..16bec6b4c6 100644 --- a/iphone/Maps/UI/Editor/Cells/MWMNoteCell.m +++ b/iphone/Maps/UI/Editor/Cells/MWMNoteCell.m @@ -3,7 +3,7 @@ static CGFloat const kTopTextViewOffset = 12.; static NSString *const kTextViewContentSizeKeyPath = @"contentSize"; -static CGFloat const kMinimalTextViewHeight = 104.; +static CGFloat const kMinimalTextViewHeight = 44.; static void *kContext = &kContext; @interface MWMNoteCell () diff --git a/iphone/Maps/UI/Editor/Cells/MWMNoteCell.xib b/iphone/Maps/UI/Editor/Cells/MWMNoteCell.xib index c793ea22af..08622f8e22 100644 --- a/iphone/Maps/UI/Editor/Cells/MWMNoteCell.xib +++ b/iphone/Maps/UI/Editor/Cells/MWMNoteCell.xib @@ -1,9 +1,9 @@ - + - + @@ -20,7 +20,7 @@ - + diff --git a/iphone/Maps/UI/Editor/MWMEditorViewController.mm b/iphone/Maps/UI/Editor/MWMEditorViewController.mm index 72c68e75e1..60307afb8a 100644 --- a/iphone/Maps/UI/Editor/MWMEditorViewController.mm +++ b/iphone/Maps/UI/Editor/MWMEditorViewController.mm @@ -791,7 +791,7 @@ void registerCellsForTableView(std::vector const & cells, UITab - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { - return kDefaultHeaderHeight; + return m_sections[section] == MWMEditorSectionNote ? kDefaultHeaderHeight * 2 : kDefaultHeaderHeight; } - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section