Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a45bdf

Browse filesBrowse files
committed
显示调整
1 parent d56474e commit 4a45bdf
Copy full SHA for 4a45bdf

File tree

Expand file treeCollapse file tree

6 files changed

+8
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

6 files changed

+8
-9
lines changed
Open diff view settings
Collapse file

‎Coding_iOS/Controllers/NewProject/NewProject.storyboard‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NewProject/NewProject.storyboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6751" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6751" systemVersion="14C1514" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
44
<deployment identifier="iOS"/>
55
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6736"/>
Collapse file

‎Coding_iOS/Controllers/NewProject/NewProjectViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NewProject/NewProjectViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ - (void)viewDidLoad {
4141
self.descTextView.placeholder = @"填写项目描述...";
4242

4343
//
44-
self.projectImageView.layer.cornerRadius = 5;
44+
self.projectImageView.layer.cornerRadius = 2;
4545
self.projectImageView.image = [UIImage imageNamed:@"AppIcon120x120"];
4646
UITapGestureRecognizer *tapProjectImageViewGR = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(selectProjectImage)];
4747
[self.projectImageView addGestureRecognizer:tapProjectImageViewGR];
Collapse file

‎Coding_iOS/Controllers/ProjectSetting/ProjectSettingViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/ProjectSetting/ProjectSettingViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ - (void)viewDidLoad {
4949
self.descTextView.delegate = self;
5050

5151
//
52-
self.projectImageView.layer.cornerRadius = 5;
52+
self.projectImageView.layer.cornerRadius = 2;
5353
[self.projectImageView sd_setImageWithURL:[self.project.icon urlImageWithCodePathResizeToView:self.projectImageView]];
5454
UITapGestureRecognizer *tapProjectImageViewGR = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(selectProjectImage)];
5555
[self.projectImageView addGestureRecognizer:tapProjectImageViewGR];
Collapse file

‎Coding_iOS/Views/Cell/TaskCommentCell.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/TaskCommentCell.m
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ + (CGFloat)imageCollectionViewHeightWithCount:(NSInteger)countNum{
107107
if (countNum <= 0) {
108108
return 0;
109109
}
110-
NSInteger numInOneLine = floorf((kTaskCommentCell_ContentWidth +10)/43);
110+
NSInteger numInOneLine = floorf((kTaskCommentCell_ContentWidth +5)/(33 + 5));
111111
NSInteger numOfline = ceilf(countNum/(float)numInOneLine);
112112
return (43 *numOfline);
113113
}
@@ -134,7 +134,7 @@ - (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectio
134134
return 10;
135135
}
136136
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section{
137-
return 10/2;
137+
return 5;
138138
}
139139

140140
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{
Collapse file

‎Coding_iOS/Views/Cell/TopicCommentCell.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Views/Cell/TopicCommentCell.m
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ - (void)setToComment:(ProjectTopic *)toComment{
7878
[_contentLabel setLongString:_toComment.content withFitWidth:curWidth];
7979
curBottomY += [_toComment.content getHeightWithFont:kTopicCommentCell_FontContent constrainedToSize:CGSizeMake(curWidth, CGFLOAT_MAX)] + 5;
8080

81-
8281
NSInteger imagesCount = _toComment.htmlMedia.imageItems.count;
8382
if (imagesCount > 0) {
8483
self.imageCollectionView.hidden = NO;
@@ -110,7 +109,7 @@ + (CGFloat)imageCollectionViewHeightWithCount:(NSInteger)countNum{
110109
return 0;
111110
}
112111
CGFloat curWidth = kScreen_Width - 40 - 2*kPaddingLeftWidth;
113-
NSInteger numInOneLine = floorf((curWidth +10)/43);
112+
NSInteger numInOneLine = floorf((curWidth +5)/(33 + 5));
114113
NSInteger numOfline = ceilf(countNum/(float)numInOneLine);
115114
return (43 *numOfline);
116115
}
@@ -136,7 +135,7 @@ - (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectio
136135
return 10;
137136
}
138137
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section{
139-
return 10/2;
138+
return 5;
140139
}
141140

142141
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{
Collapse file

‎Coding_iOS/Views/UIMessageInputView/UIMessageInputView.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Views/UIMessageInputView/UIMessageInputView.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ - (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectio
568568
return kMessageInputView_MediaPadding;
569569
}
570570
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section{
571-
return kMessageInputView_MediaPadding/2;
571+
return kMessageInputView_MediaPadding;
572572
}
573573

574574
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.