In combobox 'g' is getting cut off, 'g' is not fully visible

Hi Flex people,
I am facing problem in combobox, I have the items : 'moon' , 'manager' , 'marketing' in the combobox.
The text 'moon' is fully visible, but the in text 'manager' , 'g' is cut off, means character 'g' is not fully visible.
Please give solution to how to make the 'g' to visible in  the selected item of combobox.
Please find the attached snapshot, that will give clear idea.
Thanks,
Sushant

Try this component:
<?xml version="1.0" encoding="utf-8"?>
<mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();" updateComplete="adjustComboDropDownWidth();"
    buttonMode="true">
    <mx:Script>
    <![CDATA[
        import mx.controls.List;
         private var _selectedValue:String;
         private var _selectedLable:String;
         private var bSelectedValueSet:Boolean = false;
         private var bDataProviderSet:Boolean = false;
         [Bindable]
            private var myDropdownFactory:ClassFactory;   
         // Override committ, this may be called repeatedly
         override protected function commitProperties():void
            // invoke ComboBox version
            super.commitProperties();
            // If value set and have dataProvider
            if (bSelectedValueSet && bDataProviderSet)
               // Set flag to false so code won't be called until selectedValue is set again
               bSelectedValueSet=false;
               // Loop through dataProvider
               for (var i:int=0;i<this.dataProvider.length;i++)
                  // Get this item's data
                  var item:String = this.dataProvider[i].data;
                  // Check if is selectedValue
                  if(item == _selectedValue)
                     // Yes, set selectedIndex
                     this.selectedIndex = i;
                     break;
         // Trap dataProvider being set
         override public function set dataProvider(o:Object):void
            // invoke ComboBox version
            super.dataProvider = o;
            // This may get called before dataProvider is set, so make sure not null and has entries
            if (o!=null && o.length)
               // Got it, set flag
               bDataProviderSet = true;
         // set for selectedValue
         public function set selectedValue(s:String):void
            // Set flag
            bSelectedValueSet = true;
            // Save value
            _selectedValue = s;
            // Invalidate to force commit
            invalidateProperties();
          * @author       : Prashant Shelke.
          * @date         : 17/10/07
          * @method name : init()
          * @i/p params  : -
          * @return            : void
          * @description : To show tool-tip on line items objects of combobox.
          public function init():void
                myDropdownFactory         = new ClassFactory(List);
                myDropdownFactory.properties = {showDataTips:true, dataTipFunction:myDataTipFunction}
                this.dropdownFactory    = myDropdownFactory;
             private function myDataTipFunction(value:Object):String
                return (value.label);
           * @author       : Prashant Shelke.
          * @date         : 17/10/07
          * @method name : adjustComboDropDownWidth()
          * @i/p params  : ComboBox
          * @return         : Number
          * @description : computes dropdown width according to what dataprovider provided to it.
          private function adjustComboDropDownWidth():void
                  this.dropdownWidth    = calculateCustomPreferredSizeFromData();                  
          * @author       : Prashant Shelke.
          * @date         : 16/10/07
          * @method name : calculateCustomPreferredSizeFromData()
          * @i/p params  : -
          * @return            : Number
          * @description : computes dropdown width according to what dataprovider provided to it.
          public function calculateCustomPreferredSizeFromData():Number
                var dropDownWidth:Number    = this.calculatePreferredSizeFromData(this.dataProvider.length).width+14;
                if(dropDownWidth > this.width)
                    return dropDownWidth;
                else
                    return this.width;
      ]]>
   </mx:Script>
</mx:ComboBox>

Similar Messages

  • Text in Dynamic Textfield gets cut off

    Hi
    I have a dynamic text field which is just one line of text.
    For some reason letters like g or p that go below the regular
    line of text get cut off.
    I have made the field bigger, and also played around with the
    _height Property but it doesn't make a difference.
    I have imported the font into the Library. When I embed it
    the font doesn't cut off but looks very different. And if I change
    the field to a static field it doesn't cut off either, but the font
    looks a little different as well.
    Any ideas?

    Why should I start a new thread if this one was never resolved and I am still having the same problem?
    ANYWAY,
    I was able to fix this by finding an answer on a different forum.
    Simply increase the text leading using the text format option, like so:
    var format:TextFormat = new TextFormat();
    format.leading = 2;
    field_txt.defaultTextFormat=format;

  • HT1918 When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    If you have a credit card on file on top of your gift card then it is asking you to confirm the security code for the card, which for a Visa or MasterCard is 3 digits located on the back, or AMEX has 4 digits on the front.  This happens just to ensure that you are the account holder, and would happen from time to time whether it was a free or paid app, even if you have a credit through your gift card.  This doesn't mean that your credit card will be charged.

  • I filled in a fillable pdf form and when i print it, the text in the fillable section gets cut off.

    I filled in a fillable pdf form and when i print it, the text in the fillable section gets cut off. What do I need to do to get the entire text to be printed. Any help is appreciated.
    Thanks

    What has this to do with Pages? You probably did this in Preview.
    Peter

  • What size should my movies be to not get cut off?

    I am making a tutorial DVD. I used Snapz Pro to record a bunch of screen capture movies and then edited them together in FCP and exported them as 1024x768 animation movies and they look great. Now I want to burn them to DVD. When I take them as they are and put them on a DVD the top and bottom of the screen get cut off. Can I just resize the movies in QT pro to a different size so they won't cut off? If so what size? Is there a better way?

    Scott,
    A mix of this QuickTime Pro: How to Make Picture-in-Picture at http://docs.info.apple.com/article.html?artnum=42633 and the following procedure I put together a couple of years ago to use the small movies produced by still digital cameras in iMovie/iDVD:
    1. Create a 640 x 480 black mask with a slightly lighter black 320 x 240 center in Photoshop. Save it as a JPG file.
    2. Open your DiMage X movie in QuickTime Pro. Open the saved mask in another QuickTime Pro player (at 15 fps).
    3. Select the mask clip and edit->select all and then edit->copy
    4. Select the DiMage X clip and then edit -> add scaled the mask
    5. Next, select movie -> get movie properties
    6. Select video 2 on the left box and layers on the right box. Set the layers to 1 (that moves the mask to the back).
    7. Select video one on the left box and size on the right box. Click on adjust. Red hack marks appear around the video. Click on the picture (not the mark) and center the video on the lightened 320 x 240 box.
    8. The video may not completely cover the lighter box, but the hack marks should line up. When you view the movie, if you used a "slightly lighter" black for the center area, you won't a notice a lighter area when played in iDVD.
    9. Export it as a DV stream. Bring it into iDVD.
    will give you an idea on how to proceed. Obviously, you will need to come up with your own mask and cut-out size - 640x480 ISN'T what YOU want.

  • Tops of Signatures get cut off...

    Can anyone tell me why or, better yet, how to fix the following issue I keep having?
    When using Adobe Reader and the "Sign>I Need To Sign>Place Signature" function with "Signature Style 4" the top of some of the letters of signatures gets cut off (see screenshot below). 
    I cannot find a way to rejustify the text nor am I able to enlarge only the box that the text is located in.  The single enlarging feature for the box is a diagonal enlargement tool which inherently also enlarges the text when it is used.  So it defeats the purpose of what I'm trying to fix and only makes the issue into a larger size.
    Any assistance in correcting this issue is greatly appreciated!
    --CR4

    There are several situations where this could happen.
    1) If you have 4:3 footage (standard def) in a 16:9 project (widescreen) and select CROP in the Rotate, Crop, Ken Burns Tool, then it will cut off the top and bottom of your clips to make them fill the screen. If you select FIT instead of CROP, it will letterbox (add black bars) so you see the whole clip.
    2) This can also happen when you automatically apply image stabilization. Stabilization works by zooming in. You can turn off stabilization in the Clip Inspector.
    3) If you have iPhone clips and the iPhone was held vertically, then this will be an issue for you, because iMovie always sets the aspect ratio to match a TV screen, so the horizontal dimension will always be the longest. For best results, shoot all movies in landscape mode on your iPhone. If you have already shot in Portrait Mode, I suggest using FIT rather than CROP so you do not cut off the heads.

  • When I minimize my window, the scrollbars and tabs get cut off and I can't get to them.

    The tabs get cut off right in the middle of a tab, and the scroll bars disappear so I can't change what part of the screen I'm viewing. This is particularly annoying when watching netflix. Does anyone have a fix for this?

    It is possible that the screen is too wide or too high and that the scroll bars fall off.<br />
    Open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save that setting.
    See also:
    * http://kb.mozillazine.org/Resizing_oversize_window
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Titles get cut off when playing after the burn

    The title created in the movie are too wide and get cut off when playing it in a DVD player into a TV. Is there a setting I should use before burning?
    Any help is appreciated.

    You should turn on the TV Safe Area and make sure that everything that you care about is within this area. Anything outside the area is subject to the over-scan of TV sets.

  • ICal 1.5.5 To Do lists get cut off

    Hi:
    I may be one of the last to still be using iCal 1.5.5 (G4 10.3.9 -- haven't found a good enough reason to update). I want to print the calendar with the To Do lists, but they keep getting cut off the bottom. My lists are too long -- +too much to do!+
    I tried using the 'Scale' function in the page setup menu, but that had no effect on the outcome. I thought I did that once before, maybe I didn't. Either way, it didn't work.
    Search after search finds nothing -- just more frustration. How could Apple have created something that won't print all the information? It doesn't even go to a second page?!
    Any and all help sure would be appreciated!
    Thanks in advance!
    Robert

    I do not have a problem on the view I have on ical on my screen. I am trying to get it to print exactly what I have configured for my view.
    You could have ical delete them X number of days after completion. I want to keep track of all the to do items - I just want to be able to print out a to do list that doesn't have all my completed items on it. Of course, I might want that later.
    I want the print job to reflect the view I have configured at that time for the screen.
    D.

  • I got a text saying that if I don't pay my bill, my service is going to get cut off by the end of the day. I don't have the funds to pay it in full, so I paid half the amount. Would that suffice? Or would I have to pay it in its entirety to save my accoun

    I got a text saying that I don't pay my bill, my service is going to get cut off by the end of the day. I don't have the funds to pay it in full, so I paid half the amount. Would that suffice? Or would I have to pay it in its entirety to save my service from being cut off?

    As it was pointed out making prior arrangements could of helped extend the time you need to get your account back in order..
    But if you have to have the phone and its the only thing you have to make calls, I would try other means ( Family, Friends, or other )  to get the rest of the balance payed and you can pay at a Corporate store using the stores Kiosk machine.!   You can pay with Cash, Credit or I think with a  check  but using a check I'd ask the Local store how the policy is on that..
    Hope that Helps.!  Good luck..

  • DVD video gets cut off, but preview shows dvd as good

    Having a problem getting my video to output from dvd burning without getting cut off.
    Computer is Win xp pro, 3gb ram, 2.33ghz cpu, 40gb free hd space
    Using Adobe Premiere Elements 3.0.2.
    I have video which I've recorded from my Sanyo xacti 720p avc camera, which records in mpeg4 format. I've converted the video(s) to mpeg 1,2 for dvd using my "Need4 Video Converter 5.9". At first I tried putting several mpeg1's into my premeire project, then I also merged all the video files into one, but still had the same problem.
    I put the video(s) into my premiere project, added some titles on the other video track. Also added some music on another audio track. So, the total size of the videos is about 3.5gb. I preview my project it looks great, I added some dvd scenes and used a nice template with scene selection and captions..the works. Now I try to burn it several ways, to a dvd, to a file folder on high or low settings, but everytime I only end up with about 1.5gb of data, and 25 mins of video, so it is cut off. My original video is an hour and 50 mins.
    The encoding takes about 3 hrs after I hit burn. No errors or anything.
    So, I cannot understand what I need to do. I don't want to convert to a smaller or lower format, bcz I dont' want to lose quality. I'm at a loss bcz I've tried so many different formats and combinations, let this stuff run for so many hours this past weekend, and still can't get it to work. Is there some kind of setting I'm missing? Something in premiere?
    I've read some best practices on the forum, and I understand to use bit rate of 7mbs or less, and to burn on slow speed. Is it at all bcz I'm burning it to my hard drive? but i don't think this is my issue. is it the old software? it came with my Sanyo camera, so I would think its good enough.
    Please help if you can. I was thinking my next shot might be to convert it down to a much smaller size, and maybe it will fit(but quality may be an issue). Thanks in advance. -Ron

    Ron,
    Yes, PE is a scaled down version of P-Pro, but also has some additional features, plus an easier way of doing many things, that its "big brother" does not. As to the ability to Export/Share frame sizes, I think that most are included in PE (would have to open each and explore precisely to tell you if it's all there). I do not think that this is your issue.
    As to the conversion, I'd step back to your original footage, Sanyo MP4, right? Unless Sanyo is using a proprietary CODEC to create the MP4's, you *should* be able to Open these files in QuickTime and play them. If you have QuickTime Pro (costs about US$30 to upgrade to "Pro), you *should* be able to Export and choose DV-AVI as your Export setting. Note: the term ".AVI" can mean so very many things. What you want is DV-AVI. This is the "native" format for PE - what it converts all other file formats to, to edit. The quality loss going with this format can be measured in a lab, but is almost totally impossible to see on any TV with the human eye. Doing this will likely enhance your entire editing experience.
    As for quality and conversions and compression, your camera has already done one conversion, when it wrote to MP4. You cannot get around that. Conversion to DV-AVI will be "virtually" lossless, though the file size WILL increase. The reason is that with MP4, not all "frames" exist with full content - part of its compression. With DV-AVI each "frame" will exist with full content. Be prepared for LARGE files, but files with all of the info.
    Then, when you Burn to DVD, you WILL recompress your data to MPEG-2 format, the DVD standard. You will loose some quality there, but it cannot be avoided. It is how DVD's hold their Audio & Video data.
    I still do not have any ideas that would directly affect your movie not burning completely. If the Duration of your movie has exceeded the capacity of a DVD-5, you would/should get an error message to that effect. You do not.
    One thing to go back and look for in your original Project's Timeline would be "gaps" in the Video. These can cause problems (or sometimes not). I zoom my Timeline way up, and use the PageUp & PageDn keys to "step" through the various Clips. The CTI (Current Time Indicator - that little doobie that marks where you are on the Timeline) should move in a linear fashion from Clip to Clip. If you see it pause, or hiccup, then zoom WAY in to the max and study the Timeline there. Are all Clips butted up to each other? Now, you can have Clips on Video Tracks above #1, that would allow you to have "gaps" in the Video on VT 1. That is OK, but if you have any spots on the Timeline, where there is NO Video, you'll likely want to fix these. You can close up the gaps by moving the Clips, so that they do butt up, or if you want "black" there, just go to the New icon and choose Black Video. Size it to fit the gap, and you will be fine. You can also extend the Clip before the gap, or after the gap, if that does not mess up your editing. Several choices and each should be based on what you want to have happen. If you find a bunch of gaps (even one can be deadly) try to Export/Burn again. Note: I've seen one 1-frame gap cause problems, but just had to re-edit a Project where I fixed 900+ gaps, and that Project had already Burned 4 DVD's. Go figure.
    Last thing to look at would be to hit the "\" key in Timeline mode. This will zoom out to show the full Timeline. Do you have anything stuck out by itself, past where you thought the end was? This should yield other problems, but not the one you are experiencing. Still, who knows? It's also a good thing to do, when you believe you are done, just to check that something didn't get "orphaned" out beyond where one normally looks on the Timeline.
    Good luck,
    Hunt
    [Edit] 01:50 is longish for a DVD-5. You will not be able to set a very high bit-rate (Quality slider), but you should still get the full Timeline, or an error message.

  • Why do my margins get cut off when I right click print, but not when I open my document and print?

    When I right click print (without opening the document) my margins get cut off, but if I actally open my pdf document and click print, it will print just fine.  This only happens when the document has print that is close to the edge.
    I am using Adobe 10.1.2 with Windows 7.
    Thank you in advance for your thoughts and help

    As for your comment on this being my first Mac, and the program issue, you misunderstood. Yes the eMac is in fact my first, personally owned, Mac computer other than the original Apple II series floppy fed PC, in which me and my father owned. The only other Apple/Macintosh computer I had experience on was my father's 13" MacBook Pro, and 20" iMac (both ran OSX Tiger 10.4.11, just as the one I have know runs). The iMac was upgraded to Snow Leopard due to our need for better picture/video/audio editing software such as that of Adobe, and the Macbook Pro was sold because of a business that was started being siphoned out of money. I purchased the eMac from a small business based off of eBay. It had the majority of OSX Tiger software, only missing minor programs like Photobooth. Other than that, it had no wireless software like BlueTooth, Wi-Fi capabilities, wireless sync, ect... But alas, when you buy a Apple/Mac computer, you must take a few cutbacks when purchasing it (even refurb.) for around $120.00 including taxing, shipping, handling, ect... I purchased nearly all of my software from co-workers and friends who had an extra key, or I would receive the software disc from them, and buy a key. The only "illegal" thing I had on the computer was music I had downloaded from LimeWire. I have never, and will never, trust any software coming from a torrent download site.

  • Printing in Adobe Reader after exporting from InDesign gets cut-off

    I have exported a few documents form InDesign to PDF. When I print the documents, some parts get cut off (top section or bottom section) but there is still room on the paper. I'ts like the printer decides not to print those sections. I am printing on 5x7inch paper and all my documents show their sizes as 5x7inches.

    Turns out the issue was with Acrobat.
    See resolution here.
    http://forums.adobe.com/message/4496809#4496809

  • When converting word doc to pdf with Acrobat words getting cut off?

    Hi all,
    As you can see from this example:
    When converting from word document the words on the pages in the final PDF are getting cut off on the edge of the page?
    I've adjusted the margins in page layout in MS Word to Normal, Moderate & Wide etc, etc
    Never ever had this problem before...does anybody have any idea why or what I could do?
    Thanks in advance.

    As a quick check, set the printer to the Adobe PDF printer in WORD and then check for the proper operation. Also be sure the paper dimensions and orientation of your document and the printer properties match up (I have had some problems with the orientation when I have auto-rotate on). You may have to play some to get something to work. I have done that before and settled on a process that works for me, but I can't claim it all makes perfect sense. To many things are going on in some sense.

  • Text getting cut off when printing to PDF from Excel

    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy

    please delete me from your mailing list.  tks.
    Date: Wed, 10 Feb 2010 11:20:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: Text getting cut off when printing to PDF from Excel
    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy
    >

Maybe you are looking for

  • Can't install ODAC on Win 7 64 bit

    Getting a Java(TM) 2 Platform Standard Edition binary has stopped working - a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Can anyone help ???

  • My macbook pro has fallen and making noise

    A day before yesterday, my MacBook pro has fallen into the ground.  Now it become noisy.  Any advice on how to solve this problem is appreciated.

  • Sequences in Designer

    Hi everybody, is is possible to specify the MINVALUE and MAXVALUE for sequences in Oracle Designer 9.0.4.4.8. ? any help would be greatly appreciated Michal

  • After a 10.0.3 my PSD images are not recognized ?

    I installed the update 10.0.3 because I really need the new incrustation fonction in my project. But I used a lot of PSD images in it , who were perfectly recognized in the 10.0.2. But after the upgrade all my files PSD were not recognized and a big

  • SAP Webdispatcher :Images are not displayed after using the URL filtering

    Hello, I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3. I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile with Permfile as follows: #De