Combobox scrollbar width  and item list padding

Hello, I am running an application on a touchscreen, and the default combobox is way too small to be used.
I have tried skinning the combo box component to make the scrollbar wider, it didn't work.
I tried combobox.dropdown.horizontalScrollBar.width = 300;
Nothing happens.
Is there any way to do this?
Also, I needed to increase to font size of the list items, which I was able to do. However now all the list items are squished fairly close together. Is there a way to widen each list item/ add padding around the text?
Or heck, is there even a custom combobox control that will allow me to do this? I really need this, but can't figure it out.

Hi Siva/Viswas,
Problem got solved.I fixed width in pixels and the width does not change.
But as Viswas said,if the text is long then the user will not be able to see entire text..How to solve this problem other than showing a different text to user(As the user does not want that way).
I tried by dynamically creating a tool tip i.e, i bound the tool tip of list box to a attribute and i was setting the attribute to the selected text in list box.But unfortunately tool tip does not show up.Do you guys worked on dynamically generating a tool tip or else can you tell how to solve this problem.
Thanks and Regards,
Pradeep

Similar Messages

  • Scrollbars and awt.List

    Hello,
    I'm a first year student form the Netherlands in software design. And as of this semester I'm getting Java (finally a new language to learn!). Everything has gone very smoothly, I was hoping of more of a challenge trying to learn it, but it goes very easily (maybe I shouldn't have programmed in C++ for 3 years :P).
    Though now I'm having a slight problem with my code. v _ v '
    My project has to be competly in awt widget's, and I thought I'd do something more than required (it would seem that my teachers expect me to ^ _ ^).
    In this list I'm required to use a fixed width font to "simulate" 2 panels (almost similar to the TableList in Swing) with a pipe ( | ) character as a line. It means that I need to cut off words that cross the boundry.
    The above (and the rest of the assignment) works perfectly (and I've done the actual required part in less than 30 minutes), but now I've come to want to add tool tips to all the elements.
    I've made a tooltip class (it works btw), but I need to get the item in the list my mouse is hovering over.
    I believe a row is 20 pixels high (or something like that), so I divide the y value (of the local mouse position) by 20 and use the integer part as the index.
    And here comes the problem.
    When the list scrolls then the method I described above won't work anymore.
    I think that my method is (atleast) similar as to what other programs do, save that it adds the scroll info as well.
    Now here's my real problem. I can't (or don't know how) to get the scrollbar info from the list. I know there's a handy function is Swing, but I'm only allowed to use awt.
    I've also read that the scrollbars are part of the peer's (native to the OS) so I can't access them.
    So my true question is, what (if any) event should I listen to, to get scroll movements (not mouse wheel scrolling)?
    And if there isn't any way to listen to the events, then do you have any idea how to tackle this problem?
    Thank you for your time,
    MLeoDaalder

    Showing me your misbehaving output is not helpful.
    I have successfully implemented what you are attempting, using Swing which I understand you cannot use but it should work the same way using AWT.
    My main class extends JFrame (you would extend Frame) and implements MouseMotionListener. The mouseMoved(MouseEvent evt) method in the main class updates the tool tip, based on the evt.getX() and evt.getY().
    I have a class (call it LCanvas) that extends JPanel (you would extend Panel) . The class adds a MouseMotionListener and has a paint(Graphics g) method that records the borders of each line that gets painted by g.drawString(String s, int x, int y). (Some of the painted lines may be outside of the displayed area.)
    When I construct LCanvas, I pass it the JFrame (you would use Frame) of the main class. So my contructor looks like:
    public LCanvas(JFrame f) {
    addMouseMotionListener((MouseMotionListener) f);
    Back in main(String [ ] args), I set up my scrollable window as:
    MainClass f = new MainClass();
    LCanvas lc = new LCanvas(f);
    JScrollPane sp = new JScrollPane(lc);
    content_pane.add(sp);
    I don't know how you are trying to implement this but you should be able to compare it to my implementation that works and, since you are such a clever guy, figure out what's going wrong.

  • On i-pad, when try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no my request and item not available in the U.S. store. WWJD?

    On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do?  Please don't tell me I have to buy a new Mac to be up to date.

    On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes & App Stores and if necessary sign out/in and then enable iTM.

  • How to customize Category and Category items list while creating New Model

    Hi,
    what the most convenient way to customize the Category and Category items list while creating New Model?
    This is standard:
    Now, what we want to achieve, is to customize this menu, to:
    1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
    I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
    1. Customize the standard New Model menu window
    2. Create copies of City Planning Diagrams with different set-ups
    3. Set the relationship between diagrams
    Is such a configuration change possible?
    Thanks a lot for your help!
    Regards,
    Rafal

    Now, what we want to achieve, is to customize this menu, to:
    Question #1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    Click on Tools => General Options=> Model Creation
    Click on Properties => at right of Default category set
    Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
    In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
    To create a new category set with BPMN choice
    a) Copy default.mcc in MyNewDefault.mcc file.
        Go to Tools=>General Options=>Model Creation : Select your new category
        Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
    or
    b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
        Quit the window.
        Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
        Edit properties and remove all things you does not want keep.
        Save you new category
    Question #2. How to define copies/replicas of existing diagrams
         Wrote an extension
    Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
         Specify yours conditons in your extension attached to your model
         Example : When the user want create a child diagram :  You can display a list of Parent Diagrams to select from.
         You can set in your extension by VBScript parent-child relationship
    Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
    If I understand well your question. I suggest to take a look in
    Repository=>Administration=>Objects Permission Profile
    You can specify objects to show, mask, deactivate at model level.
    You can specifiy your own metadata.
    But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
    Message was edited by: Benoit Le Nabec

  • Grouping customers and view customer open items list - Group wise

    Hi.
    I have some requirement from my client.
    He says that he want to view customer open items list group wise.
    In FBL5N we can give the selection of multiple customers. But he wants to group the specific customers and then view the open items for this group.
    For example: Client has 10 customers and out of these customers he wants to select and group 5 customers. And then he want to view open items list for this group.
    Can anyone help me how to group these specific customers in the total customers list. Also request you to provide me the option to view open items for this group of customers.
    Regards,
    Padmavathi

    Hi Padmavathi,
    It is possible. use Worklist for Customers.
    Go to OB55 and define a Worklist for Customers, and mention the list of Customers that you want to see under that Worklist.
    After this, when you to to FBL5N, you will get an option to select Worklist to run the list of open items.. and it would show open items of all customers that you have defined in your worklist.
    Also note that you will have to go to FB00, tab Line Items, and tick Worklists available. This is at User Level, so only that user will be able to see the worklist in his FBL5N transaction code.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Feb 10, 2011 11:43 AM

  • After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine:Are you sure you want to back up to the same device your original data is on? the WD disk has mounted??

    After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine: "Are you sure you want to back up to the same device your original data is on?"  I've reformatted in Disk Utilities...not sure what I did wrong.  Any help would be appreciated.

    Not sure what you mean by "booted" from it.
    If the Mac OS is installed on the external drive, then it's possible to start up from it, just as you do from your internal drive. Please open the Startup Disk preference pane in System Preferences, and verify that your internal drive is selected as the startup disk.
    Assuming that's the case, then it may be that your TM settings have been corrupted. Turn off TM, then move or delete the file /Library/Preferences/com.apple.TimeMachine.plist. Turn TM back on, recreate your settings, and try again.

  • How to change the width of the EditForm.aspx and NewForm.aspx for both new and edited list entries?

    How to change the form widths for the EditForm.aspx and NewForm.aspx files that display both new and edited list entries?

    Hi  ,
    According to your description, my understanding is that you want to modify the width of the New Form and Edit Form of a list in SharePoint 2010 .
    1.Go to your SharePoint site -> your list.
    2.In top ribbon click  List tab(List Tools).
    3.Towards right you will see option as Form Web Parts, click on it, the three forms will be listed there [New Form, Display Form, Edit Form].
    4.Select the one on which you want to increase the width/height.
    5.It will open in edit mode, click on Add a Web Part.
    6. Click on Forms [Categories] => HTML Form Web Part.
    7.After adding the HTML Form Web Part, click on Edit WebPart.
    8.Click on Source Editor, Remove all code from it and put an empty HTML table with width and height as per your requirement ex. to increase width
    <TABLE WIDTH="800px">
    <TR><TD></TD></TR>
    </TABLE>
    9.Save the form and check out your respective modal by clicking on the same in your list view.
    Reference:
    http://sharepoint.stackexchange.com/questions/40580/how-to-modify-width-of-standard-dialog-form-sharepoint-2010
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Purchased Item Data and Price list

    Hi,
    What are all the tables involved in retriving Purchased Item Master Data and Price List
    What is the t-code ?
    I need to get this data based on vendor.
    Regards
    Uday Kiran

    Use tcode ME2L to fetch data based on Vendor.
    Common Table used in Purchasing are EKPO-PO Item details
    EKKO-PO Header details
    EKBE-PO history
    EKKN-PO account assignment details
    Tcode to check SAP table SE11 /  SE16
    Regards
    PK

  • [JS] Page item (rectangle frame) width and height

    Following is my attempt at writing a function for width and height. It appears to work on rotated and sheared objects. Can anyone tell me if I'm on the right track?
    >function WidthAndHeight(myRectangle) // Returns an array [width,height]
    ]var myRectangleTopLeft = myRectangle.resolve(AnchorPoint.topLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    var myRectangleTopRight = myRectangle.resolve(AnchorPoint.topRightAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    var myRectangleBottomLeft = myRectangle.resolve(AnchorPoint.bottomLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    ]var d1x = (myRectangleTopRight[0][0] - myRectangleTopLeft[0][0]);
    var d1y = (myRectangleTopRight[0][1] - myRectangleTopLeft[0][1]);
    var myWidth = hypotenuse(d1x,d1y);
    var d2x = (myRectangleTopLeft[0][0] - myRectangleBottomLeft[0][0]);
    var d2y = (myRectangleTopLeft[0][1] - myRectangleBottomLeft[0][1]);
    var myHeight = hypotenuse(d2x,d2y);
    ]return [myWidth,myHeight];
    ]function hypotenuse(d1,d2)
    ]]return Math.sqrt ( Math.pow(d1,2) + Math.pow(d2,2) );

    Dave, you are absolutely right (no surprise here) about always returning points. I'm not sure, but I think this may actually be an InDesign bug. At the end of the 'resolve' method the 'true' value is meant to indicate 'use ruler units', I believe. Having read the documentation, however, it does seem like certain transformation coordinate spaces functions only work in points.
    To make this a more complete function, I've updated it to include a conversion to the current ruler units. I'm using the UnitValue object, and perhaps I'm misunderstanding something, but I cannot easily convert to a new UnitValue using the ruler measurements enumerations (it requires a string value to represent the target units). So I've had to include a switch function to get from the enumeration to the string value. Also, the UnitValue object does not seem to work with agates, and I haven't gone so far as to write my own conversion function for that, so the function has to exit with an alert if the user has agates as their ruler units.
    If anyone can offer a more elegant way of dealing with this, it would be great. Or even better, some insight into why the resolve method does not seem to honour the ruler units. This _is_ getting a bit over-the-top for a simple width and height function. Maybe Adobe will consider just adding the property to the page item and putting us all (well, certainly me, anyway) out of our misery (I've put in a feature request).
    > function WidthAndHeight(myRectangle) // Returns an array [width,height]
    ]] var myRectangleTopLeft = myRectangle.resolve(AnchorPoint.topLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    var myRectangleTopRight = myRectangle.resolve(AnchorPoint.topRightAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    var myRectangleBottomLeft = myRectangle.resolve(AnchorPoint.bottomLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
    ]] var d1x = (myRectangleTopRight[0][0] - myRectangleTopLeft[0][0]);
    var d1y = (myRectangleTopRight[0][1] - myRectangleTopLeft[0][1]);
    var myWidth = hypotenuse(d1x,d1y);
    var d2x = (myRectangleTopLeft[0][0] - myRectangleBottomLeft[0][0]);
    var d2y = (myRectangleTopLeft[0][1] - myRectangleBottomLeft[0][1]);
    var myHeight = hypotenuse(d2x,d2y);
    ]] var myHorizontalUnits = unitsEnumToString(app.documents[0].viewPreferences.horizontalMeasurementUnits);
    var myVerticalUnits = unitsEnumToString(app.documents[0].viewPreferences.verticalMeasurementUnits);
    ]] myWidth = new UnitValue(myWidth,"points");
    myHeight = new UnitValue(myHeight,"points");
    ]] myWidth = myWidth.as(myHorizontalUnits);
    myHeight = myHeight.as(myVerticalUnits);
    ]] return [myWidth,myHeight];
    ]] function hypotenuse(d1,d2)
    ]]]] return Math.sqrt ( Math.pow(d1,2) + Math.pow(d2,2) );
    ]] function unitsEnumToString(myUnitsEnum)
    ]]]] switch(myUnitsEnum)
    ]]]]]] case 2054188905 :
    ]]]]]]] return "points";
    ]]]]]] case 2054187363 :
    ]]]]]]] return "picas";
    ]]]]]] case 2053729891 :
    ]]]]]]] return "inches";
    ]]]]]] case 2053729892 :
    ]]]]]]] return "inches decimal";
    ]]]]]] case 2053991795 :
    ]]]]]]] return "millimeters";
    ]]]]]] case 2053336435 :
    ]]]]]]] return "centimeters";
    ]]]]]] case 2053335395 :
    ]]]]]]] return "ciceros";
    ]]]]]] default :
    ]]]]]]] alert("Cannot convert to the current ruler units. Sorry.");
    exit();

  • Items are deleted from the Pick and Pack list.

    Hallo,
    one customer of mine has a problem with the pick and pack list.
    First the pick and pack process is done according the the standard process. Everything is fine. Customer prints delivery note and also the invoice.
    One day or two days later (it is no always the same) the items disappear from the pick and pack list. The ID of the list stays there but you cannot see any articel any more.
    Version: 8.81 PL08
    I would be very thankful for any comments.
    Franz

    Dear Gordon,
    thank you very much for the reply.
    No, we have no done any update at this cliente but since we are using the pick and pack functionality at this customer, we have this problem.
    Regards,
    Franz

  • Requestors end users will not acces a site directly and add list items

    Hi
    i created a  site for IT services  and this site includes some lists for various services
    http://Intranet.com/Units/IT services 
    main site is http://Intranet.com
    and also workflow are configured  for these lists for create new item
    and only 3 type of users will work on these lists
    1)Requestors (Create,View rights)
    2)Contributers (Contribute permissions)
    3)Approvers
    Scenario:
    -- Requestors    will create list items and approvers will Open this list item and  edit list item like
     approve and add a Contribute userid in AssignedTO field
    ---Contribute user also will recieve email and he also Open item and edit ans save this list
    so basically its backend  , data inserted by requestors will  save in lists
    so here i need all  Requestors  end users will not acces IT services site and add list item directly in list.
    is any other option availabe that i will provide a  diffrent front end page for Requestors at root level  site (which is Intranet.com )
    and they will add and view only their data, and  Contributers  also  view and edit all users data.
    adil

    Hi adilahmed,
    You can use two web parts to show the list items for different group.
    In the List view page, add another list view web part, set the first web part list view to filter Created By field with Me, second list with all list items.
    Then set the first web part with audience Requested group, and second web part with audience Contributers group.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Move Item List in BLOG to new BLOG keep All Enterprise Keywords and Comments.

    Hello, I'm new on SharePoint Server 2010. I need a help please.
    I create Site on BLOG Template. So in my site has a List name POSTs. And I enable Enterprise Keyword on that List. I use this blog and one day,My Posts now has an Error. The structure is crash. So,
    I want to know if it has a way to move the item list on Old Blog
    to New Blog. AND KEEP ALL RESOURCES.
    My List items on Old BLOG have a resource like these >>>>
    More than 1500 List Items, Some item has a Photo in their body., Some are contains the document attached in its.,
    All most of them have many Comments, This POST has enable Enterprise Keyword on Permission setting. The POST Has 2 Approval Standard Workflows on SharePoint 2010 template.
    Any Suggestion Please.
    Best Regards,

    Hello, I'm new on SharePoint Server 2010. I need a help please.
    I create Site on BLOG Template. So in my site has a List name POSTs. And I enable Enterprise Keyword on that List. I use this blog and one day,My Posts now has an Error. The structure is crash. So,
    I want to know if it has a way to move the item list on Old Blog
    to New Blog. AND KEEP ALL RESOURCES.
    My List items on Old BLOG have a resource like these >>>>
    More than 1500 List Items, Some item has a Photo in their body., Some are contains the document attached in its.,
    All most of them have many Comments, This POST has enable Enterprise Keyword on Permission setting. The POST Has 2 Approval Standard Workflows on SharePoint 2010 template.
    Any Suggestion Please.
    Best Regards,
    What's solution is the safe way. Because of when I used "Content and Structure" and then copy/or/move to New POST, All of Enterprise Keywords, Categories and All comments are lost.

  • Bug: Null Element Width and Max Width on page item won't stay null (v3.0.1)

    Well, it's pretty much what it says. I'm trying to edit a page item and remove the width and max width on the Element properties. When I remove them and hit apply it functions properly, and the page item shows up with no width or max width property set. However, if I go to edit the page item again, the Width and Max Width fields are populated (30 and 2000 respectively) again. Thus, any action which saves the item will save the unwanted values. I don't want a width and a max width on the item; it shouldn't put them back.

    I think default values should only be used in a
    situation where no value has previously been
    provided.
    How can I tell the difference between the case where
    I fetch a null value from the column because a null
    value was previously saved and the case where "no
    value has previously been provided"?Well, I would assume that there is something unique about the initial creation of an item versus the editing thereof (e.g. the item does not exist in the database, yet). It's only on create that you would want to provide default values, that is, when no value has previously been provided by the user. Any other time the item is edited, it already exists and any values submitted should not be overridden or replaced. Off the top of my head, this could be done with table level defaults (if all item types were to share the same defaults for all properties), or via an insert trigger. Either way, the defaults would only be applied on create, and not on edit.
    Message was edited by:
    CaptSimian

  • Current/Future Support for Exchange Folders and Task List Items

    Are there any plans for SES to be able to index public Exchange folders and task list items?
    Does anyone know or is aware of any workarounds for indexing public folders and task lists?
    Thanks in advance.

    Are there any plans for SES to be able to index public Exchange folders and task list items?
    Does anyone know or is aware of any workarounds for indexing public folders and task lists?
    Thanks in advance.

  • Difference between material listing and item proposal?

    HI Gurus,
    COuld you explain what is the difference between material listing and item proposal?
    --james

    Hi James,
    Item Proposal is automatically proposed by the system while creating a sales order for a specific customer.
    This setting is maintained in the Sales Area of customer master under Sales tab.
    It can be stored as master records. When you create a sales order, you can refer to an item proposal, look over the proposed items, and copy all or just selected items into the order. If a customer routinely orders the same goods, you can create a proposal and enter it in the customer master record. During sales order processing, the system automatically proposes items from this proposal.
    Item Proposal is created using VA51.
    Material Listing lists which materials a customer can buy. With material listing or exclusion you can control which materials can be sold to each customer.
    A material listing is created for a customer. The customer can only buy the materials contained in the list. The system does not allow any materials to be entered if they are not contained in the material listing.
    If no records exist for material listing, the sold-to party, for example, can in principle buy the same materials as the payer. However, if there is a material listing record specific to the sold-to party, the sold-to party can only buy the materials permitted in the list. These materials do not have to be identical to those which the payer can buy.
    Material listing and material exclusion are controlled using the condition technique.
    Hope it helps.
    Regards,
    Priyanka

Maybe you are looking for

  • Alac file size changes when added to iTunes

    Hello, I've converted some FLAC files to ALAC using dbPowerAmp.  The file bit rate remains unchanged.  However, when I add the ALAC files to iTunes, the bit rate shown in iTunes is reduced. Example - Alice Cooper, Hello Hurray FLAC Bit Rate - 4608 kb

  • J_security_check 404 error Please please help me

    I am new to this forum although I have been lurking around for while:) I have a question about j_security_check. I am working in Apache Tomcat server and I want to set up form based authentication. So I used j_security_check and I get an error 404 j_

  • Solaris9 x86에 10g(10.1.0.3)설치시 universal installer에서 멈추어있는현상?

    solaris9 x86에 10g를 설치하다가 최초 ./runinstaller를 실행하면 아래와 같은 메세지를 보여주고 universal installer 가 실행되는데 실행되자마자 첫화면에서 멈추어서 계속진행을 하지 못하고 있습니다. solaris 패치라든지 패키지는설치가이드대로 전부 설치하였습니다. 혹시 jdk문제일가 싶어 os에 기본내장되어있는 java를 지우고 실행해도 마찬가지입니다. 어떤부분을 보아야할지 고수분들의 도움부탁드립니다. ./

  • Referenced files not moved into system trash when emptying Aperture trash

    I check the checkbox for "Move referenced files to system trash", but instead of moving them Aperture deletes them immediately. Anyone else having this? My referenced files are on an external drive.

  • DVD/CD issue with windows 8.1 upgrade

    I have a Pavillion G7 2270us notebook. I upgraded to Windows 8.1 from Windows 8.0. My DVD/CD drive no longer read any DVD nor CD. What can I do?