Scrollbar doesn't show all text in RichEditableText component ...

The program is loading text from an external XML-file into a RichEditableText component.
However, scrolling an scrollbar does not show all the available text.
To me, it looks like the scrollbar is not updated to adopt itself to the new text.
Does someone has any pointers, how to fix this, because I have no clue where to look?
Thanks in advance,
Peter
Code snippets:
The bindable 'data' is filled with an html-formatted text, when the XML-file is loaded.
TextFlow is used to display the html-formatted text.
MyTextScrollPanel component contains VScrollBar and component MyTextScrollPanelScrollingContentSkin:
<s:VScrollBar id="vscrollbar" left="185" right="0" top="0" bottom="0" fixedThumbSize="true"
viewport="{contentGroup}" />
<components:MyTextScrollPanelScrollingContentSkin id="contentGroup" clipAndEnableScrolling="true"
left="0" right="20" top="0" bottom="0"/>
MyTextScrollPanelScrollingContentSkin component:
<fx:Script>
          <![CDATA[
          [Bindable] public var data:String;
          ]]>
</fx:Script>
<s:RichEditableText id="textContent" d:userLabel="Text" x="0" y="0" width="185" height="682"
                              editable="false" selectable="false" color="#ffffff"
                              fontFamily="Myriad Pro" fontSize="12" tabStops="S0 S50 S100 S150 S200"
                              textFlow="{TextConverter.importToFlow(data, TextConverter.TEXT_FIELD_HTML_FORMAT)}"
                              whiteSpaceCollapse="preserve" >
</s:RichEditableText>

One (practical) solution I came up myself, is adopting the height of the RichEditableText to the length of the data:
<s:RichEditableText id="textContent   ...  height="{data.length}"      .... />
A practical height value turns out to be {data.length/2}, indicating that 50% of the text is html-tags and whitespaces (??)
Does someone knows or could point to a more elegant solution?
Note: the division "/2" worrows me, since the customer is proving the text.
Thanks,
Peter

Similar Messages

  • ICal doesn't show all text for the activity

    When I updated to iCal version 8.0 i noticed that when I am in week-view, iCal doesn't show all the text for an activity, although there is plenty of room. For example I have a lecture from 9 am - 4 pm and in the activity I put down all the things I have to do, but it only shows the first line for my activity. I need to drag the box or double click on it to see all the text. Can I change this?

    Gabriella,
    Sometimes making the Calendar window bigger, or using full screen allows additional text to be displayed.
    View>"Make Text Smaller" is also an option for those with Eagle Eyes.

  • InfoPath 2013 - Rich Text box - Expand to show all text option not working

    I have create an InfoPath form and created a view which will be used for printing. I have a rich text box in this print view and the scroll option for this rich text box is set to "Expand to show all text". However, it is not working and it doesn't
    expand the size of the text box based on the content length.
    same thing used to work in InfoPath 2010.
    Any suggestions?
    Thanks,
    Neelesh

    Hi Wendy,
    Here are the steps I have used:
    1. On default view added a rich text box.
    2. Created another view called Print and mapped it to the same Field which I added to default view
    3. Set the Wrap text and Expand to show all text on both the Rich Text Box Properties - in default view and in Print
    view. Also set the height of the rich text box to auto.
    4. Set the print views as the print view for default view
    5. Deployed the form to SharePoint Form Library
    6. Opened the form in browser
    7. Entered the content in the rich text box in default view. It expands well if I have much content
    8. Clicked on Print preview and that opens up the print preview and it shows the rich text box only one line in height and with scroll bar
    I missed to mention that it is a web browser enabled form and I am using InfoPath 2013 and SP 2013.
    It does work fine in InfoPath client.
    Thanks.

  • Syncing iphone and can't seem to transfer audiobooks that i have put in a playlist.  Sync menu doesn't show all playlists.  Help

    syncing iphone and can't seem to transfer audiobooks that i have put in a playlist.  Sync menu doesn't show all playlists.  Help

    I have the same problem with podcast playlists.  When I go to the music window in my iPhone devices section, the playlists I have created on my macbook pro in iTunes do not appear as an option to sync with the iPhone.  I know some web radios streams, like the BBC, won't transfer because of compatibility issues, but the playlists of podcasts that I have created consist entirely of podcasts downloaded from the podcasts section on the iTunes Music Store.  They used to show up and sync properly before I upgraded to OS 5.1.1, but now they don't.
    Does anyone have a fix and am I right in surmising that the cause is a glitch in OS 5.1.1?

  • Rich Text Box Issue - Expand to show all Text

    Hi everyone
    I'm having a pretty frustrating issue with the rich text box when viewing a line item (not when editing the item, but viewing the item)
    I want my rich text box to expand with the text, which I have changed in the options on InfoPath with the "Expand to show all text" scrolling option. However, in IE, the table row will expand, but the actual rich text box will not and I'll have
    a scroll bar there and you cant see all of the text at one time. If I look in Chrome, then it works the way I want and I can see all of the lines of text that were entered into the rich text box.
    The only solution for IE to work correctly is to change the Display settings to "Enable enhanced rich text content...". But the big issue with that is now you can no longer highlight the text (the highlight disappears right after highlighting it),
    and the users will need to copy text from the text box, so it renders the "enhanced" rich text box useless for us
    It's kind of a lose-lose situation that I'd love to find the solution for

    I guess a better solution would be how can you highlight text from an enhanced rich text box, because changing these to "rich text box" gets rid of font colors in the pre-existing data.
    The original problem was that they couldn't highlight text unless they went into edit mode

  • ATV doesn't show all photos in slideshow

    My ATV3 doesn't show all my photos in slideshow. It seems to repeat the same, say 50, over and over, even though I have about 400 in the folder on my windows7 PC.
    Whats the fix?
    Thanks
    Andy

    For the avoidance of doubt are you talking about the screensaver or the slideshows.
    Slideshows should show all your photos, but screensavers will not. Screensavers need to save the photos to the Apple TVs flash storage, the Apple TV doesn't have a lot of this and so limits the number of photos it uses.

  • Apple TV doesn't show all pictures in photo stream

    I have about 1000 pictures in my photo stream, but my Apple TV doesn't show all of them. It shows only 304 photos. How can I get all my photos to my Apple TV via photo stream? I have the latest Apple TV and the latest operating system on it.
    Edit:
    And I have tried to reset Apple Tv and photo stream.

    Welcome to the Apple Community.
    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there (subject to a 1,000 photo limit) until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.

  • HP 5550 web server doesn't show all required tabs

    Good afternoon!
    I have an issue with web server on hp 5550 Laserjet. Everything was good, but after reboot, it doesn't show all tabs such as "Information", "Setting", "Networking". It shows only "Home" and "Networking"...
    Do someone know how to fix this issue?
    Thanks in advance!
    Any help will be appreciated!
    Igro

    Your best bet would be to try Rapidweaver: www.realmacsoftware.com
    Best,
    Andrew
    I am not very into this stuff (can't write HTML),
    do you might have a suggestion for an other
    WebsiteBuilder?
    We can't afford GoLive (which was very cool in the
    early days built by CyberStudio) nor have I time to
    learn or buy the complex Dreamweaver.

  • Package Body in the tree doesn't show all procedures

    I am using Sql Developer 1.0.0.14.67 on Win XP Professional,
    DB servers Oracle 9i on both Linux Red HAt and Win XP Professional
    I have troubles with one of packages - in the tree under Package Body SQL Developer doesn't show all procedures of this package body.
    On the right panel all package body source is shown, but in the tree under Package Body it shows names of only procedures up to certain line in the source code - up to line where first Private (not included in Package Spec) procedure code starts.
    BUT, there are more Public procedures in package body below this Private procedure - and all of procedures below first private are not included in the tree under Package Body

    I find this quite annoying. I cannot use the navigation panel on the left to find the location of all functions and procedures in the package body. The 'missing' procedures are listed under the package spec, and double clicking on them takes me to the spec and not the body.
    I'm running v1.2.1.32.13. Is this a know issue and is there a fix planned?

  • IPad doesn't receive all text messages

    iPad doesn't receive all text messages

    An iPad can receive iMessages only, not text messages as in SMS/MMS.

  • Ipod doesn't show all the songs listed in Itunes even after sync is complete

    Ipod doesn't show all the songs listed in Itunes even after sync is complete

    I'm going through the same thing, I've tried de-authorizing and re-authorizing my computer and that seems to help. I haven't gotten all my songs back yet, but I've got about 75% of it back.

  • Distiller 'default settings' blank and doesn't show all job options

    We're experiencing a problem with Adobe Distiller 9.3.0 being blank next to "Default Settings" with the error, "Error in /Library/Application Support/Adobe/Adobe PDF/Settings/PDFX4 2008.joboptions: /CheckCompliance out of range".
    I can delete that joboptions file, which removes the error message, but the Default Settings pulldown menu still is blank and doesn't show all of the joboptions files that it should.  Only 2 of them are showing up in the pulldown.
    How can I fix this?
    I've tried deleting all joboptions files and letting Adobe self repair them and have tried deleting a few com.adobe.distiller* preference files and nothing yet seems to work.
    Thanks!

    I am connected to a network but we don't share applications. CS5 Design Premium is installed on my machine.
    See screenshot below:
    What is the relevance of this? We seem to have the same location for the output module file.
    Why does mine not work?
    See screenshot below:
    The Adobe Output Module is in my Startup Scripts but it still doesn't work.

  • M3000: show-disks doesn't show all disk.

    Hi all,
    I have to setup one M3000, when I want to create a devalias, I type show-disks, but it doesn't show all the disk, it only show 2
    a) /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    b) /pci@0,600000/pci@0/pci@0/scsi@0/disk
    So, a is disk0 1 2 3 ?
    and
    b is disk 0 1 2 3?
    thanks
    Please help
    ====================================================
    {0} ok probe-scsi-all
    /pci@0,600000/pci@0/pci@8/SUNW,qlc@0
    QLogic QLE2560 Host Adapter FCode(SPARC): 2.03 06/30/08
    Wait for link up -
    Firmware version 4.03.02
    Fibre Channel Link down
    Possible causes: No cable, incorrect connection mode or data rate
    SFP state: 8Gb Present
    /pci@0,600000/pci@0/pci@0/scsi@0
    MPT Version 1.05, Firmware Version 1.31.00.00
    Target 0
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393e813d912 PhyNum 0
    Target 1
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393d84aaf3e PhyNum 1
    Target 2
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393d84ab082 PhyNum 2
    Target 3
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393e8392a42 PhyNum 3
    Target 4
    Unit 0 Removable Read Only device TEAC DV-W28S-W J.0A
    SATA device PhyNum 4
    {0} ok
    {0} ok show-disks
    a) /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    b) /pci@0,600000/pci@0/pci@0/scsi@0/disk
    c) /iscsi-hba/disk
    q) NO SELECTION
    Enter Selection, q to quit: a
    /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk has been selected.
    Type ^Y ( Control-Y ) to insert it in the command line.
    e.g. ok nvalias mydev ^Y
    for creating devalias mydev for /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    {0} ok

    Hi.
    It's not bug, it's a feture. :)
    show-disks show available controlles, that can have connected disk.
    For create alias you should manualy add what disks exactly you want use.
    disk0 /pci@0,600000/pci@0/pci@0/scsi@0/disk@0
    disk1 /pci@0,600000/pci@0/pci@0/scsi@0/disk@1
    disk2 /pci@0,600000/pci@0/pci@0/scsi@0/disk@2
    disk3 /pci@0,600000/pci@0/pci@0/scsi@0/disk@3
    Generaly this aliases alredy created at POST.
    Check output of devalias
    Regards.

  • IPhone doesn't show all music when I connect to network in iTunes

    Hi
    In iTunes Preferences on my Mac I've ticked the button to make all my music available over the network.
    When I use the Share option in iTunes on my iPhone it doesn't show all the music on my Mac. Is there something else I should set to make this work?
    Thanks
    Flybridge

    PUSH

  • My Dock doesn't show all applications with shortcut

    My Dock doesn't show all applications with shortcut
    Apple tab only shows some applications on my list not all, anyone know why? I went under system settings to fix it and there is no option for it.
    Thanks!

    Perhaps I don't understand your question, but if you think that the doc shows every application you have on the computer, this is incorrect. If you want certain applications to be shown on the dock you have to add them to the dock. The dock comes preset with a few select Applications Apple wants to feature but you are free to add others or remove ones you don't use.
    Patrick

Maybe you are looking for