Questions tagged [dynamic-text]

93 questions
14
votes
1 answer

Handling UIContentSizeCategoryDidChangeNotification for NSAttributedString in UITextView

I have an NSAttributedString in a UITextView and would like to handle the UIContentSizeCategoryDidChangeNotification when working with Dynamic Type and specifically the text styles. All the examples I've seen (IntroToTextKitDemo) address the case…
byamabe
  • 1,421
  • 1
  • 12
  • 19
12
votes
3 answers

Thymeleaf:

I'm trying to append some text to a dynamic text as shown below: But the UI throws: TemplateProcessingException: Could not parse as expression: "Hello ${worldText} Does anyone know how can I achieve…
Vasudev
  • 803
  • 1
  • 7
  • 16
9
votes
1 answer

Self-Sizing (Dynamic Height) Cells in iOS 8 - Possible without Custom UITableViewCell?

Is it possible to self-size a UITableViewCell in iOS 8 without creating a Custom UITableViewCell? I thought that the standard UITableViewCell types (UITableViewCellStyleDefault, UITableViewCellStyleSubtitle, UITableViewCellStyleValue1,…
SAHM
  • 4,078
  • 7
  • 41
  • 77
6
votes
1 answer

Accessibility Large Text from Settings

When I try to implement user selected font of text from settings accessibility in my application, unable to get the user selected text size into my app. code is like let contentSize =…
Lakshmi Reddy
  • 313
  • 5
  • 17
6
votes
3 answers

htmlText not showing bold or italics font

So I have a MovieClip asset with a dynamic textfield sitting inside of it. I export my .fla as a .swc to use within Flash Builder 4, and create instances of the asset with code, populating the text dynamically from XML. My issue is that even though…
Conor
  • 670
  • 1
  • 12
  • 27
5
votes
3 answers

Facebook share with dynamic text

I'm doing: $fb = "http://www.facebook.com/sharer.php?t=".$title."&u=".$url; That line is inside a while loop getting results from database. $url is always the same one but $title changes depending on the row. Now I build the links and when I…
user712027
  • 572
  • 6
  • 9
  • 22
5
votes
2 answers

UIWebView respond to "Dynamic Type", iPad's text size settings

I have a embedded Cordova UIWebView within an iOS app. I have used bootstrap for to make the html pages responsive. Now i want to make the text on the web view respond to the dynamic text size settings of iPad. I have tried using…
Saleh
  • 93
  • 1
  • 8
3
votes
4 answers

AS3-Flash cs6 How to make numbers have a comma?

I am making a game that when you click on the Monster your score gets +1. But when your score goes over 1000 I would like it like this 1,000 rather than 1000. I am not sure how to do this as I have not learnt much action script. I have embed number…
3
votes
1 answer

Possible to turn off dynamic text in MKMapView?

In my app, if the user slides 'Text Size' (under Settings > General > Text Size) to a large value, the city labels in the MKMapView are enlarged. I am sure this is intended and desired in many or most cases, but for my application, the large labels…
Hap
  • 556
  • 1
  • 6
  • 20
2
votes
1 answer

How I can add username text to my Spark AR filter?

I would like to add the username text in my Spark AR filter. I created a 2dText object and I would like to change that text into the username of the person that are using the filter. How to do that?
2
votes
1 answer

Why do I need to set preferredFont(forTextStyle:) when using attributed strings?

I have a label that I want to set to text with a custom line height. I also want to use dynamic type. Here's how I'm setting the label: let attributedString = NSMutableAttributedString(string: "A long string with lots of…
Joe Susnick
  • 6,544
  • 5
  • 44
  • 50
2
votes
0 answers

Swift: Redirect to system settings text size

Is there a way to redirect to settings page for so that user can set their dynamic font size? Using the code below redirect to the app settings page but there are no font size settings (is there a way to enable it?) let alertController =…
shoujo_sm
  • 3,173
  • 4
  • 37
  • 60
2
votes
1 answer

jQuery Grab Value of Dynamic Textarea

Suppose you have a textarea (id="fred") that appends (.append()) or replaces (.html()) another element. The textarea's submit button is called via delegate to send the modified text blurb in the textarea... How do you select the modified textblurb,…
ina
  • 19,167
  • 39
  • 122
  • 201
2
votes
2 answers

Setting dynamic TextField.text from a parent MovieClip in ActionScript 3

Easy question, that I can't quickly find an answer to online - it seems this would be in tutorials everywhere - and probably is... I have a MovieClip that has a Dynamic TextField: let's call the instance of the field txtName. I want to set the text…
Eddie
  • 359
  • 4
  • 11
2
votes
3 answers

How to get custom UITableViewCell to pick up user changes to preferred text size?

I'm working on a simple app to display items in a table view. If I return an ordinary UITableViewCell object from tableView:cellForRowAtIndexPath: static NSString *cellIdentifier = @"EmailCell"; UITableViewCell *cell = [tableView…
MusiGenesis
  • 74,184
  • 40
  • 190
  • 334
1
2 3 4 5 6 7