Custom in a font size/color list

Hi all!

Just try to set a custom font in a list control size/color, I am currently using a cell render customized with the following code. The text should be red and the size of 18 points, but nothing happens. Any suggestion?

override protected function drawLabel():void {

// Text format
var myTF:TextFormat = new TextFormat();
myTF.color = 0xff0000;
myTF.size = 18;    

myTextField = new TextField();
myTextField.setTextFormat(myTF);
myTextField.width = 200;
myTextField.height = 30;
addChild(myTextField);

}

Thank you!

Try

myTextField.format = new TextFormat (null, 18, 0xFF0000);

...

I guess the myTextField is an attribute of the class.

And you can use the Label QNX class here, unless there is another reason, you use the TextField object.

Tags: BlackBerry Developers

Similar Questions

  • I can't locate the toolbar under the TOPIC when you enter an email, the one with the font size, color etc.

    Hello
    I was never able to locate the toolbar normally below the subject line when you type an email...
    It comes to the bar with the font size, color etc. At all the extras for letter writing, bold, underline, italics etc...
    Have always had it with previous systems, but never with Thunderbird... Sherlock


  • How to change the font, size, color for long-term

    I like sending an e-mail using color. I got Windows 7 earlier this year. I had XP. At the same time, I changed the font, size and color, and there staed like that.

    However, I tried to change it again and I spent weeks trying. I know that they can be changed for each email, but I want to stay for a while until, months from now, I decided to change again.

    As I did once, it can be done. I just remember what I've done.

    Thank you.

    Hello

    Thanks for posting in the Microsoft Community Forum. Description, I appreciate that you try to change the font, size and color for the e-mails, rest assured that we will do our best to answer this question.

    Answer these questions that would help us to provide the best solution:

    What mail client do you use?

    Provide us with more information about the issue so that we can help you further.

  • How to customize the font, size, color for no display of data message?

    Hi Experts,


    I have a requirement to customize data for no display of data message, now they want it to be in the same format to display the title of this report, so in my case, its font size is 15 and the color is dark blue, then no message data must also display in the same font, size and color. How can I get this please can anyone help me on what your answers are really useful for me that the requirement is very urgent.


    Kind regards

    Laeticia.

    Hello
    See my o/p sample:

    http://imgur.com/JvxxR

    hope this will help you...

    Thank you
    Deva

  • What happened to the permanent setting for the font, size, color of the e-maild I send?

    I used to be able to go into the settings and put in the font, the size, the color I wanted to use to all emails that I'm writing. I can find it is no longer. The size I use when read by the person receiving the e-mail is also way bigger than what I wrote. It is no longer a way to put the police etc. you always want to use by writing an e-mail?

    MLJ

    Via the Menu bar
    Tools > Options > display

    or

    Via the mail toolbar
    Menu icon > Options > Options > display

  • How to create a signature to emails customized with the fonts and colors that I select instead of the default values?

    create a snazzy to my e-mail signature

    Hi, I want to create a signature in my windows mail email... He will be only with the police, which is the standard... How do I create a jazzy, as have the font and the color I want? Thank you

    Note: The HTML Signatures must be less than 4 KB.

    Open a new Message window and create your signature. (Insert the graphic & text). Click on the Source tab (view |) Source Edit if not already checked). Highlight the complete source code and copy / paste into Notepad. File | Save under and in the file name field, save as htm, (i.e. Sig1.htm). It will be saved in My Documents by default. Go to tools | Options | Signatures. Click: File | Browse and insert your saved signature | Apply. You can now rename it if you wish.

    Of course, if the recipient reads in plain text, they don't see the it.

  • How to change the (name) font, size, color or highlighting - on a basis of character or a Word?

    It is in fact on the CAP Thunderbird, Lightning. It applies to all instances of the use of text in lightning calendar.

    I know about the preferences and settings for Thunderbird and a few parameters that are particularly well relate to the lightning.

    Y at - there no way for the change of character, Word, sentence and label styles based on need in lightning?
    If there is, I really need to know.

    (Ex: tool 'Text' or 'Formatting' bar in any word processor or text editor, type "Formatting" tool bar of Thunderbird itself.)

    THX, Jim

    I don't think that lighting has any capacity for anything other than plain text. None of the mechanisms of transfer of calendar data that I know seem to be able to manage marks upwards in the text, so even that if lightning has supported formatting, it seems that it could be local, since it would have no way of transmission brand to other calendars.

  • Windows 7 change randomly font size of my office between Small (100%), medium (125%) and Large (150%).

    I tried to create a customized (like 130%) font size to see if it would stick.  Every time I have restart or shut down my computer, desktop change font size again.  Recently, my computer completely freezes (frozen, all frozen pointer) and the activity led to the CPU on my laptop would show no activity whatsoever.  Then the fan would be instantly and not turn off.  This could be related to a problem with Firefox, which I am trying to determine in a separate proceeding.  But this ice could be related to my font size change randomly, since I have to cold - restart my computer after each freeze-up.

    Hey Bartman,

    Welcome to the Microsoft Answers site!

    The change if the font size could occur if the user account you are using is corrupt. You can try to create a new user account and check if that helps.

    To create a user account

    1. To open user accounts, click the Start button, select Control Panel, click user accounts and family safety, and then click user accounts.
    2. Click Manage another account.

    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    1. Click create a new account.
    2. Type the name that you want to assign to the user account, click an account type, and then click create an account.

    For more details follow the link.

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Font size set to auto but sounds different when the data are populated compared to typed manually

    I have a form where all the size of the font of fields is set to auto. When data are filled in the form in a custom program the font size appears different to the name and first name fields. When the same names are typed manually in the form (not filled in the custom program) the font size remains uniform. There is no coding in the personalized program to manipulate the fonts or the font settings. What could be the cause of the change in the appearance of the font size. Another interesting is that after the program fills in the data, I can click in the areas affected by this problem and the police will change to what it should be but set in the right size once I have quit the field. I also see that some fields when filled will not be characters fat even if the police is set to a bold font.

    When a font of a field is set to Auto, Acrobat/Reader dynamically adjust the font size to match what is entered. When not using Acrobat/Reader to populate a field, it belongs to the program to properly set the font size based on the value of the field. Adobe does not publish any algorithm they use to determine the exact size (depending on the font used and the coordinates of field), so that a third party should use a better estimate (or not even trying at all), that looks like what is happening in your case. When you click within a field by using Acrobat/Reader, the font size is adjusted dynamically, but because the value of the field does not change, it is not defined when the field loses focus.

    A possible solution would be to use JavaScript to record all the field values, reset the form and then fill in the form using the saved values, this would cause Acrobat correctly define the appearances of field.

  • Adobe Captivate 4 Quiz (Matching) drop-down list too small font size.

    Hello

    We use Adobe Captivate 4.  Quiz (matching).  Exported to SWF format.

    The drop-down list the fonts are small. We want to use a larger font in the drop-down list, but couldn't find a way.

    Can anyone help?

    Thank you

    Fox

    Hello

    Formatting of the slides in Question of CP is sometimes a pain. I can't give you a correct answer, but it would be great if you filed a feature request to the team to have more control over the styles used in this drop-down list (the link is on the homepage of this forum). If we are many to demand improvements, fine higher up on the priority list.

    As you've probably discovered, in the properties of the corresponding drop down lists Question slide you can change font color, the font size not. My correct solution is to choose a font that gives the best result, certain fonts really look bigger than the others. This is not always compatible with the styles in the rest of the film, but I fit all of the text in Question slides to this font.

    Regret not to be able to help. Question slides are in the folder, but in SWC format, and I can not open these files, even if I installed Flash CS4. Maybe a Flash-wise guy will appear automatically in to help you.

    Lilybiri

  • How to change the font size in the list pane of message (display message header lines)

    The list of messages in the upper part of the window of Thunderbird (a / topic / etc) uses a font that is very small and difficult to read. The question is: how the user can increase the font size so that it is readable?

    The platform is a computer Mac OS X 10.9.5 with Thunderbird version 31.3.0.

    Hello

    Try using this addon theme font & size changer

  • 'Options' are not listed under 'Tools' in the Manger of the activity to change the font size of the incoming messages. Where is he?

    I'm changing the the font size for incoming messages. Thunderbird "helps," says click on Tools/Options/display/setting in the advanced form. When I click on 'Tools' or use "Alt + T", 'Options' are not listed. Where can I go to get the "options"? I am running Windows 8.1 if it makes a difference.

    ALT + T you should get there. Options is under Tools on the menu bar. Pressing alt makes the menu bar appear if not already displayed.

    If you use the AppMenu (square with 3 lines) button click the AppMenu, hover over the Options, and then select Options.

  • color and font size will not change in emails, blogs, forums, etc.

    I can change is more the style or color of fonts in emails, blogs, forums, etc. I can change the font size and nothing else. Everything works when I'm connected using the Explorer is a parameter or a firefox update that is the cause of the problem. If I cut/copy and paste into a word from a web site document I can't yet make a change. If I copy a word document in a web site, the colors and the fonts back to default setting. I tried to change the setting in the fonts and colours Options, they make changes, but they do not solve the problem.

    Hello

    Please check if this happens in a new profile. If it's good, you can later copy the personal data of the old profile. Firefox stores your personal data and settings to another separate location of the files/folder. A new profile would default Firefox settings (Tools (Alt + T) > Options and topic: config ) and usually also would be vacuum of Extensions and themes (appearance) in Tools > Add-ons) and their parameters. In addition, a new profile would have no previous stored site data/settings etc. (Tools > clear recent history).

    Profiles Howto

    Files & profile folder

    Subject: config entries

  • Cannot change the font size in the list of mail messages

    I'm trying to make the largest font in my list of incoming messages but can't seem to find out how. Can I change my policy of mail, but the button to select the message list is grayed.

    I use the latest version of the el captain on my mac air book.

    Very frustrating that when I make an update of the el Captain all my font size settings have disappeared. Now, can't seem to change it more.

    Thank you.

    Hivetender,

    According to the Mail Help: "the police and the size of the police for the display of the list of messages in typical Configuration only (the list of messages being especially messages)."

  • Is it possible too change the font size and color of the file change toolbar?

    The size of the font of the file edit toolbar, etc. are too small. I wish I could enlarge them and also be able to change the color of them.
    It would be great if we could change them since we can add a few nice themes at the top of the screen.
    Thank you

    Maybe:

Maybe you are looking for

  • Software for analyzing the browser history (no removal)

    Assuming that solicit the recommendations of software fits Apple Discussion, I would like recommendations for software that will allow me to Preserve my browser (Safari, ideally) history. Record visited, including the first and last dates. Save this

  • Bookmarks, absent from the sidebar

    After a recent update to v. 9.0.1, bookmarks that normally appear in my sidebar disappeared. They have not disappeared completely, because I can access it from the Bookmarks tab and they continue to reside on the Xmarks server. I can't see them when

  • How to avoid the backup files in Finder Searches

    When you use the Finder to search for files on my iMac search results often include my support of Carbon Copy Cloner of files located on an external hard drive permanently connected. Is there a way to tell Finder do not turn to this external drive wh

  • ProBook G1 470

    Hello, everyone who loves HP ! How can I start? I installed Win 7 on my new HP laptop (ProBook 470) and I've managed all the drivers (with questions etc) for Win 7. But still, remains a problem, and I cannot understand, what is happening. It has to d

  • Error on blue screen on Equium A100-549

    Hello I won a laptop facing a blue screen error every time she has been put in service. I was provided with the essential components and did a format using the recovery CD. Once it was full, I pulled out the as shown then clicked exit Recovery CD. Th