Can't seem to be able to change the size of font statictext

Help out me here. I can't be able to apply a font size larger for a multiline statictext object.

Here's the javascript function, which seems to work fine, except to interact with the font properties. I want to use the default font, but he wants a little bigger and points bonus - "BOLD". I myself just bigger.

TIA

function message_dialog(message) {
  //The dialog which displays a message and can also terminate the script
  var the_dialog = new Window('dialog', 'SuperDuper Find Change'); //Make the window
  the_dialog.alignChildren = 'fill'; // Make sure the child object have 100% width
  the_dialog.orientation = 'row';
  the_dialog.alignChildren = 'top';
  the_message_group = the_dialog.add('group');
  the_message_group.orientation = 'column';
  the_message_group.alignChildren = 'left';
  the_message_group.preferredSize.width = 300;
  the_message_group.margins = 4; //Set the area around the children.
  //Create a container for the message.
  st_message = the_message_group.add('statictext', undefined, message, {multiline:true});
  st_message.characters = 35; // WARNING: do not hit st.preferredSize before you set the characters property! 
/** --- @TODO  The font change below appears to have no affect ---**/
  st_message.graphics.font =  'dialog:21';
  //Add the Okay button
  the_button_group = the_dialog.add('group');
  the_button_group.alignment = 'right';
  the_button_group.alignment = 'top';
  the_button_group.add("button", undefined, "OK");
  the_dialog.show();
} //End message_dialog function

CC and later, you can not change the appearance of the text in the controls.

Tags: InDesign

Similar Questions

  • I can't use my keyboard unless I click on tool palette on my second monitor. I'm under 10.10.4 CS6. Basically - once I click the mouse in brush, stamp, etc., I can't cancel, fast replacement of tools, change the size of the brush etc. unless I click on th

    I can't use my keyboard unless I click on tool palette on my second monitor. I'm under 10.10.4 CS6. Basically - once I click the mouse in brush, stamp, etc., I can't cancel, fast replacement of tools, change the size of the brush etc. unless I click on the tool palette. Had this problem for months. Don't know what to do. Going to lose my mind.

    Have you installed the WhiteWindowWorkaround plugin to work around known issues in Mac OS?

  • How to change the size of font IR (only) dynamically

    Hello

    On the http://www.danielmcghan.us/2009/01/that-font-is-too-small.html blog, there was a great example of how to change the size of font IR on the fly.
    Some how seems that it does not have new reagent 25 theme, which is not having "td." If someone could help me.

    I would like to add a few record capacity in other tables (table user preferences)... Penny Please extend this example if possible.

    For this I did on the cloud Apex demo: FONT_SIZE_ADJ_APP

    http://Apex.Oracle.com/pls/Apex/f?p=2354

    Data connection:
    United Nations: guest_admin
    PWD: Qwertz123!

    THX in advance for your help.

    BRG,
    Damir

    The actual code Th example of work seems different from the blogpost

    Might want to try this code (in your page template)

    (-) Save / Reset (+)
    

    To save this in a table of custom user preferences:
    -You can change the application RETURN_NOTHING to insert/update process using the FONT_SIZE_ADJ element

    And add the calculation to set the value in FONT_SIZE_ADJ of the table for the first time user preferences when users login

  • Are you able to change the size of the canvas?

    Hello! I would like to change the size of the project up to 1920 X 1080 is it possible?

    I'm pretty sure that currently available from Adobe sketch canvas size is 2048 x 1536 (at least).

    Fortunately, HD video is smaller (1920 x 1080).

    Create a model of 1920 x 1080 in Photoshop, then save it in your library of CreativeCloud.  It is often useful to create a guide with title safe and action safe too!

    In Adobe Sketch, place the model in a new layer and use it as your guide layer.  If you send this to Photoshop later, it'll be really easy to crop to the guide layer - and maintain your elements and design layout.

  • PS touch and able to change the size of the file

    Hello

    I would like to change the size of an image of 10 MB to 1 MB file, is this possible?

    Thanks to advancefile

    Finally, size in pixels determines the size of the file. Tap the icon of the ampersand in the upper right > Image size. (If you need a file size calculator, try Googling. There are tons of tools out there online.)

  • How to use windows scan with the new canon printer is connected and the copy and printing, but can't seem to be able to use the technique of scan windows

    How to use windows scan with my new canon MX 922 printer.  It is conncected and copying and printing but can't seem to use the windows scan option, the cannon that which for me is slow thanks

    All in one, type printers (print, copy, scan) usually have a very specific set of instructions during the installation.  If not followed exactly the probability is that the scanner will not work.

    Canon: http://www.usa.canon.com/cusa/consumer

    Download and read the Setup instructions for your model, have you followed the instructions exactly, more precisely when to connect the printer / scanner during installation of the software process?

    J W Stuart: http://www.pagestart.com

  • Change the sizes of fonts and colors without CSS [was: such a n00b]

    I can't believe I have to ask this question, but I want to change the font sizes, styles of fonts and colors in fashion Design CS5 (recently updated), but using HTML tags, not CSS.  If I use the properties panel in HTML only appear bold and italic, options where are other options gone?

    I found alignment on the Format menu, but every time I use this menu to change the font style that seems to get forced to CSS, and for the life of me, I can't find how to change the font size without having to edit the HTML code in code view, which I don't.

    Can such a n00b, anyone help please?

    [Subject line edited for clarity by Moderator]

    It is not uncommon, and talking about who I think that more people should use the Adobe - feature request/Bug Report Form and request a feature to turn on an entire document inline styles, because it is common to do for HTML emails like Great Outlook thing and is more picky and problematic email client It is a bit like IE, although IE is trying to move forward.

    In the Properties window, click then target CSS rule and choose the inline Style.  Then, Dreamweaver will apply an inline style for the element.  It will always write the CSS code, which is the right way, but it will write it inline, which is the case when you can not link to external CSS files.

  • How to change the size of fonts Windows 7.

    Original title: HP 300 series

    How can I change the font size in my 300 HP. Text is so small, that I have a hard time reading?

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you want to change the font size.

    I suggest to try the steps in the Microsoft Help Articles below and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows/change-Windows-fonts#1TC=Windows-7

    http://Windows.Microsoft.com/en-us/Windows7/make-the-text-on-your-screen-larger-or-smaller?v=t

     

    You may consult:

    http://Windows.Microsoft.com/en-us/Windows7/change-your-font-settings

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • Change the size and font for any field type?

    Because that copy / paste to the font size and type with it I want to create a script which change

    I tried get to the function 'exit' of the material as follows:

    Form1. TestPage.Subform1.TextField1.font.size = '10pt '.

    Form1. TestPage.Subform1.TextField1.font.typeface = "Myriad Pro";

    I also tried a search field button changes to a script I found online, but it does not work for me:

    function ProcessTextEdit (oField)

    {

    }

    function ProcessAllFields (oNode)

    {

    If (oNode.className is "subform")

    {

    Search fields in the child.

    for (var i = 0; i < oNode.nodes.length; i ++)

    {

    var oChildNode = oNode.nodes.item (i);

    ProcessAllFields (oChildNode);

    }

    }

    Else if (oNode.className == "field")

    {

    Switch (oNode.ui.oneOfChild.className)

    {

    case "textEdit":

    If (oNode.parent.className is "Subform")

    {

    Form1. TestPage.Subform1.TextField1.font.size = '10pt '.

    Form1. TestPage.Subform1.TextField1.font.typeface = "Myriad Pro";

    }

    }

    }

    }

    No luck. Any suggestions?

    I tried the only control font size and type everything by allowing users to retain the flexibility to use color, bold, underline, etc. to highlight certain information when he text above. Plain text allows it. So far, everything I've read, is not possible because Livecycle is not able to control the attribute of Rich Text of the word imported into a Rich text box in Livecycle.

  • I want to know how to change the size of fonts and size of the pitcure of my screen

    I would like to help on my font size and the size I see on my screen, it's huge, and I would go back to normal size.

    I am running Windows XP Home Edition.

    I thank all those who can help me.

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    Here is the Vista Forums.

    See you soon

    Mick Murphy - Microsoft partner

  • I was able to change the colors of fonts in an email, but now I can't. What is the reason for this and how can I solve the problem, please?

    I've updated for Mozilla Thunderbird v 24.4.0 and now the colors of fonts do not work.

    This bug was supposed to be fixed at 24.4, I why I am telling you your test so.
    See https://support.mozilla.org/en-US/questions/992366?

    could you please check again that you use 24.4.

    Also restart form Thunderbird Help menu (Alt + H) with Add-ons disabled, just to make sure that he is not an unhappy interaction with Add-ons or themes.

  • I have a WIN 7 laptop mrunning IE 11 but I can 't seem to be able to download the Flash Player 12

    This problem whenever I try to download the latest version of Flash Player.  It happened on the version and now it happens on the 77 version

    Flash Player ActiveX (Internet Explorer)

    Right click - "save target as".

    Then install it.

  • Dynamic text: gradually change the size of font that you type

    Always present in my project. I need help with that.

    I have a dynamic txt connected to a keyboard on the screen, and I need the police to shrink in size according to the number of characters that you enter.

    Looks like it could be a simple algorithm, but I have no idea where to start.

    any help?

    If you use a keyboard on the screen, I'm not sure that a listener CHANGES will work if it involves adding text to the textfield with code... but kGlad know better on this subject.  If she does not have a code, code adds text can have the task of checking the length right after each character is added.

    To check the number of characters in the textfield by its length property, essentially use something similar...

    numCharacters = yourTextfield.length;

  • How to change the size of the url and Google search boxes?

    I was able to change the size of the URL box, but not the Google search box. By doing so, I could show more extensions in the FF window.

    You can attach a screenshot to show what you are trying to reach?

    Use a type of compressed as PNG or JPG image to save the screenshot.

    Note that you must set a fixed width for the address bar and the search bar to disable their attributes of flex.

    Add code to the file userChrome.css below default @namespace.

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the chrome folder in the Firefox profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #urlbar-container { max-width:400px !important; }
    #search-container { max-width:200px !important; }
    
  • Change the column header font size

    Hi all

    In the view of the table, I am able to change the size of the font of a column, but this does not affect the column header.
    This translates into having the data in a single font size and position of the original size.
    I tried to update the class column header in view.css (analytics\res\s_oracle10\b_mozilla_4):
    . {ColumnHdg}
    color: #3c3c3c;
    border-style: solid;
    border-color: #c9cbd3;
    border-width: 0 1px 1px 0;
    background-color: #cfe0f1;
    do-size: 8pt;
    make-weight: bold;
    vertical-align: bottom;
    padding: 1px 2px 2px 3px;
    text-align: left;
    }
    but this does not at all affect the size of the text.

    NB: I refresh and clear the cache of the browser every time I make a change in the CSS file.

    One knows what the problem is. ??

    Concerning
    Adil

    Hello
    To change the column heading, go to the properties of column-> data format-> next to the column name, you can see change format-> give the font size of the column header.
    Is that what you want?

    Kind regards
    Srikanth

Maybe you are looking for