Questions tagged [htmltext]

103 questions
71
votes
6 answers

Text not wrapping inside a div element

I am experiencing a problem that never happened before and seems really unprecedented, some text is not wrapping inside a div. In this link is a sample of my html code: http://jsfiddle.net/NDND2/2/
Vasileios Tsakalis
  • 1,101
  • 2
  • 11
  • 25
48
votes
3 answers

How to center the text in a JLabel?

despite many tries I can't get the result that I would like to see - text centered within the JLabel and the JLabel somewhat centered in the BorderLayout. I said "somewhat" because there should be also another label "status" in the bottom-right…
Hurdler
  • 891
  • 3
  • 15
  • 30
16
votes
4 answers

How to convert Html text to plain text in android?

I required convert HTML text to Plain text in String form. String mHtmlString = "<p class="MsoNormal" style="margin-bottom:10.5pt;text-align:justify;line-height: 10.5pt"><b><span style="font-size: 8.5pt;…
Hiren Patel
  • 52,124
  • 21
  • 173
  • 151
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
4
votes
1 answer

I get a different html text that the one on the web when scraping with rvest in Rstudio

so im trying to make a calendar (dataframe) with the soccer matches coming. Im webscraping the columns one by one because i dont need them all. When scraping the column with the timedate (HORA) i get a values that are incorrect, dont know why... i…
4
votes
1 answer

Make links in textview open WebView in Android app

Hi I want to make links from TextView of my app open the WebView Activity also inside my app. I am able to handle link clicks using a custom class extending LinkMovementMethod class. Below is the code: public class CustomLinkMovementMethod extends…
frey
  • 431
  • 1
  • 5
  • 21
3
votes
3 answers

Flex: How to call an actionscript function from htmlText anchor

Is there any way to call an action script function from an anchor which defined in TextArea component's htmlText property. Thank you
Tolgahan Albayrak
  • 3,118
  • 1
  • 25
  • 28
3
votes
9 answers

Unable to access embedded images in htmlText

Images can be included in TextArea controls using the htmlText property: ta.htmlText = ''; How can I reference embedded images? An example:
alexey
  • 8,360
  • 14
  • 70
  • 102
2
votes
1 answer

How to apply formatting to data feeding AdvancedDataGrid in ActionScript 3.0

I'm using the Halo AdvancedDataGrid component, in which the default itemEditor for each column is mx.controls.TextInput. For example, the data provider is: [CODE][Bindable] private var labelsGridArray:Array = [ { tag:"apple" }, { tag:"*banana" }, {…
bon_t
  • 97
  • 1
  • 7
2
votes
1 answer

htmlText embedded images not properly aligned

I have a TextField and I am trying to display embedded images using htmlText: var test:TextField = new TextField(); test.multiline = true; test.wordWrap = true; test.htmlText = "Texttextext:
\

test actionscript-3
nqe
  • 345
  • 3
  • 13
2
votes
1 answer

Why Flex AS3 TextArea Htmltext changes format on event

This is giving me no sleep, I've added my test application here. Just copy and paste to test the application adds well formatted html text to a text area on clicking 'add' then on clicking 'go' I take this html text out to another Text area and I…
Murray
  • 515
  • 4
  • 11
2
votes
1 answer

AS3: htmlText with multiple font size tags?

I have a textfield that gets text from xml. I added a function for changing font size for a selected text and it works fine until I load the text again. Then it just ignores all other sizes but the first one. This is the html text for the…
Tinelise
  • 386
  • 4
  • 16
2
votes
3 answers

How Do I handle IOErrors From HTML Enabled Text Fieds in AS3

If I'm loading images via the tag in a dynamic text field and an IOError is thrown, what would I attach the event listener too? the text field? I tried this... var textField:TextField = new TextField(); textField.htmlText = "here is some text…
Howard Zoopaloopa
  • 3,798
  • 14
  • 48
  • 87
2
votes
2 answers

ActionScript 3 TextArea htmlText styling using tag

According to this webpage, the htmlText property in TextArea can handle CSS text style if using span tag. I want to format multiple tags in my code. Something like: var tags:TextArea = new TextArea(); tags.htmlText = "
saurb
  • 685
  • 1
  • 13
  • 24
2
votes
1 answer

AS3 Font Embedding with htmlText

I have a dynamic textfield which uses html text loaded form an XML file: XML: some text.]]> As you can see, this uses regular and italic. I have embedded my font in all it's varieties, every single glyph,…
mrEmpty
  • 841
  • 4
  • 19
  • 36
1
2 3 4 5 6 7