Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CoderKo1o:
感谢您的这个 PYPhotoBrowser 库,为我们的工作提供便利。
我为您的库添加一个
oneImageFullFrame属性,默认为YES,为NO时,单张图片尺寸不拉伸。PYPhotosView ,若使用
PYPhotosViewLayoutTypeLine布局,一般是长条形状的,只有一张图片时,很大部分情况下不需要改变布局与PYPhotosView同等大小。例如这样:
所以我添加一个
oneImageFullFrame属性,希望能给您带来帮助。