Comments (4)
请问你正在使用的是哪个版本?大概在 16 年中旬应该就已经支持无限长度的标题了,你更新一下版本吧。
谢谢建议!控件放在 .m 文件里面的原因是考虑到 API 层级的简易性,不想让开发者过多考虑内部结构,同时因为控件是相互耦合的,直接修改控件属性可能引起一些异常,导致开发者不得不去阅读较长的框架源码来自我修复这些问题,而提供属性的方式能让框架自己(对其实是我……)修正可能出现的异常,避免浪费开发者时间。目前提供的 Properties 能保证对大部分控件属性的覆盖,如果需要覆盖更多控件的属性可以直接提 Issue,当然如果作者时间紧或者回复过慢也可以直接 Fork 过去修改 :)
from lcactionsheet.
抱歉回复晚了
我使用cocoapods安装,最近更新过,执行, 版本为2.7.0
pod search LCActionSheet
-> LCActionSheet (2.7.0)
可能我们说的不是同一个地方,或者是需要配置某个值我没找到,但依旧是省略号
所以我试着直接修改了 LCActionSheetCell.m
里的
titleLabel.adjustsFontSizeToFitWidth = YES;
所以。。对于以上建议,那么可能需要一个 LabelAdjustsFontSizeToFitWidth 的属性吧,哈哈~~
嗯,可以关闭这个Issue了,祝好
from lcactionsheet.
额,不好意思我以为你说的是 Title 哈!这个地方 adjustsFontSizeToFitWidth
可能是最好的处理方式了,加大 Cell 的高度的处理方式相对而言反而更加不美观。我更新下,默认该属性为 YES 吧,谢谢!
from lcactionsheet.
对了这个问题已经更新修复了,谢谢指出!V 2.7.2
from lcactionsheet.
Related Issues (20)
- 请尽快新版本,十万火急 HOT 5
- 区分点击空白区域或cancelButton HOT 1
- without title HOT 3
- 并没有适配iphoneX HOT 3
- 最大高度问题? HOT 3
- 能自定义每一行按钮的颜色吗? HOT 1
- 挺好用的 HOT 1
- carthage install error HOT 1
- pod 报错 HOT 2
- iphonexs and iphonexMax screen adaptation HOT 3
- 为什么3.5.1版本没有呢?最新的是3.5.0 HOT 1
- 用clicked的block形式,会与SVProgressHUD冲突 HOT 2
- 释放不掉UIwindow
- 项目太依赖Masonry,有的用的SnpKit。导致还得导入两个库。不划算 HOT 1
- 希望可以自定义页面UI,比如可以设置圆角这些。方框太丑了
- lc_isX 方法建议改下 下次出个别的高度又要改
- 建议添加的需求-圆角。👇 HOT 4
- 怎样设圆角
- 设置取消按钮的背景色无效
- hey, why exec [actionSheet show]; not show HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcactionsheet.