Design Canvas & Centering text

Forgive me for being a noob here but I have a couple of questions :-
1.) How do I undock the design canvas so I can use it full screen ? At the moment, everything will only snap to the grid that is the displayed part of the design canvas - not the whole screen.
2.) How do I centre text on the screen for instance a heading ? I've used 'text-align: center' but that of course just justifies in the output text box - not the screen.
SPG

(1) At the moment there's no way to do that with a single gesture, but we're merging the NetBeans 4.0 window manager so in the future that will be easy.
For now, you can click on the "pushpin"-like icon near the top of the properties and project navigator window to cause them to slide out to the right.
(2) To get centering like this, don't use absolute positioning. Here's what you can do: go to the Source tab, and add something like this (under body or form depending on where you want it):
<p style="text-align: center"> Hello World! </p>
(or use h1, h2, ... instead of p.) Output Text renders a span which is an inline tag, so you can't set the text-align directly on it. If you want to use an output text (for example to value bind it), you can first add an output text (but DON'T absolute position it: either double click on the output text item in the palette, or drop it and then go remove its position, left and top properties from the style property of the output text). Then go to the source tab, locate the h:outputText you've dropped, and add a <p style="text-align: center"> right before it and </p> right after it, e.g. "wrap the output text with a p block tag).
Hope that helps.
-- Tor
http://blogs.sun.com/tor

Similar Messages

  • Design canvas editor not working

    I think I may have started the program before the auto-updater finished it's work. After closing it up and restarting it I was no longer able to see the design canvas editor for any of my projects. Thinking I may have screwed something up I re-installed everything, including wiping out the projects I had.
    The only other thing that may or may not have influenced this is that I recently installed the Java-Plug-in 1.4.2_05 though after a time or two I removed this as well.
    The design canvas editor appears to be dead. I have re-installed several times. Creating new projects results in the same problem. The Project Navigator works and it is aware that the project is open. I have tried both the base install and a fully updated install.
    Has anyone else seen this before?
    URL to the JSC log:
    http://www.kattare.com/docs/jsclog.txt

    From the stacktrace in your log file it looks like the canvas designer module has been disabled. To undo that, either go and reenable it via the options dialog, or simply nuke your {userdir}/system/Modules/ dire]ctory. (This is assuming you want to continue using the rest of your user directory in case you've done lots of option customizations etc. Otherwise simply nuking the entire userdirectory as Winston suggested works.)

  • Object too small to select on design canvas

    I have created 14px by 14px images for a mini navigation area, and added them to a set of Image components.  Due to the very small size, these objects are not selectable on the Xcelsius design canvas, although I can select them in the object browser.  The only way for me to affect their position on the canvas is to add another temporary object and do a multiple selection, and then drag the temporary object around.  (The object in question gets dragged along with it).
    Since I seem to have a decent workaround, I'm just posting about it to report the problem.

    Thanks Forto. I check into it.

  • Could not start Layout Designer (see long text)

    Dear All,
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Refer also to SAP Note 1121176.
    Note : I have already checked forums and also the long text file , i have installed SAP gui 720 with latest patch  even though , we are getting the same error . or i have to installed ADOBE LIFE CYCLE DESIGNER to user PC ?
    Note :
    One of the forum is mentioned ,we can also download and install the newest SAP GUI (what is 7.2 i believe) which has LCD as a part of installation.
    but still i am getting error .
    SAP gui Details :
    SAP PC VERSION INFORMATION: saplogon.exe
    MAIN MODULE INFORMATION:
       saplogon.exe
       SAP Logon for Windows
       720 Final Release
       7200.3.9.1071
       1286983
    SYSTEM INFORMATION:
       Operating system: Microsoft Windows XP 5.1 (2600)
                         Service Pack 3
    Kindly advise.

    Please let me know the path and it  can be used permanent ?  or it will ne expired ?
    Thanks
    Edited by: satheesh0812 on Nov 29, 2011 12:17 PM

  • Centered text in PDF

    Hi
    I am new to this Acrobat SDK forum. I am trying to write a PDF code, but I have problems centering text. Below is a short "program" that writes the text "Centered text" starting at position x=100, y=600. But how do I center this text at some position, say x=200, y=600 ?  Can anyone help?
    - gullipeX
    %PDF-1.4
    1 0 obj
       << /Type /Catalog
          /Outlines 2 0 R
          /Pages 3 0 R
       >>
    endobj
    2 0 obj
       << /Type /Outlines
          /Count 0
       >>
    endobj
    3 0 obj
       << /Type /Pages
          /Kids [ 4 0 R ]
          /Count 1
       >>
    endobj
    4 0 obj
       << /Type /Page
          /Parent 3 0 R
          /MediaBox [ 0 0 612 792 ]
          /Contents 5 0 R
          /Resources << /ProcSet 6 0 R
                      /Font << /F1 7 0 R >>
                      >>
       >>
    endobj
    5 0 obj
       << /Length 73 >>
    stream
    BT
       /F1 24 Tf
       100 600 Td
       ( Centered text ) Tj
    ET
    endstream
    endobj
    6 0 obj
       [ /PDF /Text ]
    endobj
    7 0 obj
       << /Type /Font
          /Subtype /Type1
          /Name /F1
          /BaseFont /Helvetica
          /Encoding /MacRomanEncoding
       >>
    endobj
    xref
    0 8
    0000000000 65535 f
    0000000009 00000 n
    0000000074 00000 n
    0000000120 00000 n
    0000000179 00000 n
    0000000364 00000 n
    0000000466 00000 n
    0000000496 00000 n
    trailer
       << /Size 8
          /Root 1 0 R
       >>
    startxref
    625
    %%EOF

    Hi, Irosenth and others again.
    To try to solve my problem (because I do not know how to do this in PDF), I made a short PostScript program to check the length of the characters in Helvetiva 10 pt. A part of the program is shown below. If I have the length, I can calculate the centered position of the text in my C or Fortran program, that makes the PDF file.  This investigation gave, for instance, the lengths for A, B and W as:
    A:  6.66797
    F:  6.10840
    W: 9.43945
    When I placed the EPS file into Adobe InDesign a bit different values came out:
    A:  6.66959
    F:  6.10963
    W: 9.43942
    ... and still different in Adobe Photoshop:
    A:  6.67081
    F:  6.11075
    W: 9.44115
    I have the feeling that character lengths are given as integers in the font file (not as real numbers) and I actually have to multiply these lengths (for 10 pt. Helvetica)  with some unknown value to find the "correct" lengths of the given characters. Does anyone know the actual length of the character A in Helvetica for instance?
    PostScript program:
    /Helvetica findfont
    dup length dict begin
      {1 index /FID ne {def} {pop pop} ifelse} forall
      /Encoding ISOLatin1Encoding def
      currentdict
    end
    /Helvetica-ANSI exch definefont pop
    gsave
    /str 20 string def
    /Helvetica-ANSI findfont 10 scalefont setfont
    (A ) 50  750 moveto show
    (A)  stringwidth pop str cvs  80 750 moveto show
    (F ) 50  700 moveto show
    (F)  stringwidth pop str cvs  80 700 moveto show
    (W ) 50  650 moveto show
    (W)  stringwidth pop str cvs  80 650 moveto show
    grestore

  • In Design CS4 drops text when opening

    We have an issue involving opening pre existing ID files doesn’t matter which version they were created in,  and when they are opened and you are prompted to find fonts and you replace them with our fonts, which by the way are the Adobe OTF Master Collection, text drops randomly throughout the file. The actual text box is still there but it is empty. We have this issue with customer submitted files also. For example, if the file was created in ID CS2 and you open it in its native version it is fine, same thing with files created in CS3, but when you try it in CS4 you run the risk of losing text. Even after you replace the text that is missing, the next time you open that file if it happens to be on another machine you run the risk of dropping text again. Even when you open it on the original machine there is a chance of dropping text. PLEASE HELP!

    Well you are not the only, we have tried so many different things, I have
    Adobe looking into also and have not heard anything yet.
    In Design CS4 drops text when opening
    Peter Spier
    to:
    Steven Johnson
    09/29/10 03:51 PM
    Please respond to clearspace-723551180-808940-2-3172761
    I'm stumped.

  • Smartforms centered text formatting

    Hi, i have a problem developing a smartform form, when i use centered text it should appear:
           Avenida das Forças Armadas, 111 2º C
                           1600-045 LISBOA
                    Nº Contribuinte xxxxxxxxx
    Tel. +351 21 xxx xx 00 - Fax +351 21 xxx xx xx
    In the MS WORD editting box it looks right, but when i print the form the output widens the spaces between words like this:
                         Avenida       das      Forças      Armadas,     111    2º    C
                                                     1600-045     LISBOA
                                             Nº    Contribuinte     xxxxxxxxx
    Tel.    +351     21     xxx     xx     00    -    Fax      +351      21     xxx      xx     xx
    Thank you for the help.
    Edited by: tiagoramalhais on Feb 24, 2011 8:10 PM

    The Print output depends on the paper Size ! Why don't you try using a Standard Text for your requirement ?

  • HTMLEditorKit Centering Text

    Hello,
    I am writing a basic html editor which uses a textPane and java's HTMLEditorKit. The program allows the html to be saved.
    At the moment the text can only be written in a row by row form. And I would like to add the option of centering text, and images Which could be switch on and off, suchas in Microsoft's word.
    Could anyone provide an example of how to achieve this, or over some guidance.
    Thank you

    Thanks,
    I had a look at the site, though I could not find the answer, to how to use the java tools StyleSheet HTMLDocument and HTMLEditorKit kit. And allow the user to center text and images within a textpane, which would add the center tag to the HTMLDocument which contains the html template.
    Could you possibly advice further?

  • Centering text to Canvas

    Does anyone know why when I center text to the canvas it will
    sometimes jump back and forth never locking down in one spot.
    Thank you!

    Sean1015 wrote:
    > Does anyone know why when I center text to the canvas it
    will sometimes jump back and forth never locking down in one spot.
    >
    > Thank you!
    I've never seen that happen!
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Selected componets on design canvas jump location

    When I select a componet/object on the design cavas, that is located far enough down it requres first scrolling down using the scroll bar, Creator:
    1) sets the focus of control on that componet
    2) jumps back to the top of the scroll bar
    3) moves the componet to the upper portion of the canvas
    It happes regardless of the type of componet I select.
    I'm using
    - Java 1.5.0_04
    - Java Studio Creator 2 Build 060120
    - Windows XP v5.1 w/ SP2
    - Pentium M 1.78GHz Dell D810 Laptop
    Has anyone else experienced this?

    The selected componets are placed in a layout panel set to a grid page layout. The grid panel itself is a fixed with panel with a negative left margin and a 50% left side offset to keep it centered on the browser window at all times.
    I haven't done a ton of pages or projects so only time will tell. It does occur after restarting the IDE.

  • Page with dynamically centered text

    Hey all,
    I'm trying to create a very simple webpage with some text in the centre. At the moment if I design the page size height etc. in the Inspector, it will fit correctly without scroll bars and with the text centered on my desktop monitor, but obviously if i look at it on my laptop there are height scroll bars and the block of text is no longer in the middle.
    Ideally I would like to auto fit on all monitors.
    Is it possible to do this with an HTML snippet or something?
    thanks!

    Read this : [Topic : Center-align iWeb pages?|http://discussions.apple.com/message.jspa?messageID=12013969&tstart=0]
    Here's another one : http://www.wyodor.net/boxsamples/
    See if it has code you can use.

  • Centering text...

    I'm wondering if there is any easy way that would allow you to figure out how you can aline text so that the center of it is at a certain point. For example, you have (pointX,pointY) and thats what the text is centered around on, and you ABC as the string... I want to have the center of the B to be at pointX...any ideas?

    I'm wondering if there is any easy way that would
    allow you to figure out how you can aline text so that
    the center of it is at a certain point. For example,
    you have (pointX,pointY) and thats what the text is
    centered around on, and you ABC as the string... I
    want to have the center of the B to be at pointX...any
    ideas?Got an idea... Hope it is correct, I am a bit tired and math is not my strong side then :) This method below must off course be called from a paint method of some kind:
        public void drawText(Graphics2D g) {
            // Lets set some attributes first.
            AttributedString astr = new AttributedString("A string");
            astr.addAttribute(TextAttribute.FONT, "Helvetiva");
            astr.addAttribute(TextAttribute.SIZE, 14);
            TextLayout tl = new TextLayout(astr.getIterator(), g.getFontRenderContext());
            // Get the height and width
            int width = (int) tl.getBounds().getWidth();
            int height = (int) tl.getBounds().getHeight();
            // This is our center
            int centerX = 5;
            int centerY = 5;
            // Calculate where the corner start. (I hope :))
            int pointX = centerX - width/2;
            int pointY = centerY - height/2;
            // Draw it in the canvas
            tl.draw(g, pointX, pointY);
        }I suggest you read a bit about AttributedString, TextAttribute, TextLayout and Rectangle2D. As those are the ones I use here.
    -s

  • Centering text within a table in Contribute

    I'm using Contribute on a PC doing testing for a professor's
    website. Per my suggestion, the professor purchased Contribute to
    edit his pages. Pages are using a table to format the page.
    http://www.iun.edu/~edupjb/teaching/E340/course_description.shtml
    Within a table Contribute will not let us center text. Since
    a cell is used to put the main content, we cannot center the cell.
    If another table is added inside the cell, even if we try to use
    cell properties, which we can change to center, the text inside the
    table does not center. The align icons can not be selected.
    Any ideas?

    With the design of the pages, the right area is where the
    content is located which is in one cell. Centering one or a few
    lines within the content area is not working within Contribute. The
    whole content area is not wanted to be centered just specified
    lines within the td. Centering in DreamWeaver or Microsoft Front
    Page are inside a td is possible. Contribute is not letting us
    center if trying to do so from within a table.
    Thank you for your suggestion. I'll have to try doing it
    through css. Since Dreamweaver and Front Page can center within a
    table, I don't like having a css definition for something should be
    cared for in the program. It would be a class of Center, which the
    program should be able to center We have about less than 10 people
    using contribute and others mostly using Front Page or Dreamweaver.
    I'll keep testing.
    Could this be a bug in Contribute?

  • BW 3.5, BEx Query designer issue with text of the characteristics

    Hi All,
    We are currently using BEx 3.5 Query Designer to design the queries. We have one of the ODS on which we are querying for.
    We have 3 different types of Customer in this ODS. 0Customer, 0BBP_CUSTOMER and 0GN_CUSTOMER. The problem is when we open this ODS in Query designer we see their text name on the left hand side column where it shows data fields as the same text name Customer.
    Now the our Power users have raised the issue that it is very confusing even when there are 3 different technical names for these characteristics.
    2 Questions I have.
    1) Why is something like this happening? is it some issue with the Patch or something. We will be migrating to new BI soon but in the mean time if I could resolve it that will be the best. Or does it even get resolved with new BI???
    2) what is the way in which we can resolve it?
    Thanks in advance and points will be given generously.

    HI BI Consul!
    Things like this happen, when it is called customer it could be different customers, 0customer is the standard R/3 customer and 0BBP_customer is objects from CRM and most likely 0GN_Customer might be customer from different system.
    Sure, power users should be told which customer is customer and you could also change the discription of the object, to match the definition on the other system. You could also just create z object and replace the existing confusing object with something meaningful to users.
    thanks.
    Wond

  • How do I put two centered text in a PAGE_START in BorderLayout ?

    Hi everybody.
    I am using a BorderLayout and in PAGE_START section I want to put a title(centered, with two rows). I don't know how to do that. When I put my text there, is on the left side.
    Thanks.
    Edited by: blackblack13 on Jul 18, 2009 1:08 AM

    Aaa yes, you're right. The thing with two JLabels is very good, I didn't think about that. But with HTML I don't know how to use it. Where can I find smth about that?
    Thanks a lot !

Maybe you are looking for

  • XML Forms in EP 7.0

    Hi,      Our application uses a customised XML Form that we developed in EP 6.0. This form has the HTML Editor as one of its UI elements, which worked fine in EP 6.0.      But our Portal was upgraded to EP 7.0, after which the table buttons in the to

  • Creating addon installers for SBO 9.0 64-Bit (AddOnInstallAPI_x64)

    Hi guys, I experience some challenge getting my addon to install successfully on a 64-bit SBO 9.0 I noticed there are a couple of discussions touching on this very subject. So I have successfully installed my addon on the 32-bit edition of SBO 9.0 My

  • Prevent scaling of leaf nodes

    I am trying to implement a simple map solution in JavaFX 2.0. I have map object in a given resolution and some "car" objects (for example Rectangle) that I would like to overlay the map. My intention is to create a Group node containing the map objec

  • SAP Screens to HTML conversion

    Hi Friends, I need to convert SAP Transaction screens into HTML pages. SAP GUI for HTML gives only BHTML pages but not normal HTML pages. Even from EP TRansaction iview, teh same SAP GUI for HTML pages will be displayed. Even we can not save them als

  • Stupid mistake, please help

    i recently deleted quicktime to revert back to an older version and in doing so, i seem to have messed up my built in isight. it still works with imovie and photobooth but every time i try to open up video chat in ichat and skype, it says in ichat "c