I have a problem with a UITableview cell that disables rows whose characters have more than 12 characters. Any ideas why this will happen? I did not create a custom cell at all. I canβt find a solution to this problem using google search. Any ideas?
You should be able to set label properties to change the font size based on the contents of the labels using adjustsFontSizeToFitWidth . This will significantly reduce the font size so that the text fits on one line.
adjustsFontSizeToFitWidth
Your cell probably contains a label, which in turn is set for the given borders. What you need to do is make sure your label is the same size as the longest line or larger.
Source: https://habr.com/ru/post/1312776/More articles:Creating a monopolistic council with GridBagLayout - javaI need to make a view in sql that returns the latest invoice date for each company - sqlProtect files from git - gitJava Service Shell and Advanced Application Command-Line Options - javaHow to create a web service in Visual Studio .NET using a WSDL file? - c #Is it possible to write Android applications in C #? - compiler-constructionAdd image to Base64 Encoded ImageStream in resources (resx) - c #Inheriting Rails objects named owner_to - inheritanceThe method returns IDisposable - should I get rid of the result, even if it is not assigned for anything? - c #Make Group Policy C # Application - c #All Articles