Alpha Video Training
Results 1 to 16 of 16

Thread: Lookup cell alignment issue.

  1. #1
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Lookup cell alignment issue.

    I have a lookup and I changed the default icon.
    Anybody know how to make the lookup and the new icon align vertically?
    I have tried the Cell in-line style, no change. I tried freeform layout, no change.
    5-7-2011 10-40-31 AM.png

  2. #2
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    Anyone have an idea?

  3. #3
    Volunteer Moderator Steve Wood's Avatar
    Real Name
    Steve Wood
    Join Date
    Nov 2003
    Location
    Bay Area, California
    Posts
    8,843

    Default Re: Lookup cell alignment issue.

    Would have to see it in the page, and use Firebug to determine why the field is out of alignment (the icon looks good, the fields looks low).
    Steve Wood
    Join the ALPHA DEVELOPERS NETWORK
    There is no Cloud. It's just someone else's computer.
    Web - Mobile - Hosting - Products - Frameworks - Developer Resources
    AlphaToGo | IADN (100% Alpha Anywhere Websites)

  4. #4
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    .

  5. #5
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    Thank you Steve. I have looked at the structure of that coulumn. The elements are in a span I can't see any reason that would cause the alignment to display like that. I'm stuck on this one.

  6. #6
    "Certified" Alphaholic iRadiate's Avatar
    Real Name
    Stephen
    Join Date
    Jan 2011
    Location
    London, ON, Canada
    Posts
    1,715

    Default Re: Lookup cell alignment issue.

    Can you assign a relative position to the Item No field, say a negative top value?

  7. #7
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,862

    Default Re: Lookup cell alignment issue.

    Frank,

    How did you change the dropdown icon? I'd like to duplicate what you have and then have a look as to why the spacing is off.

  8. #8
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    David,

    In a text field set as a lookup in the lookup type set to edit combo, in the lookup definition towards the bottom see image.

    The reason I am doing this is so that you can select the edit combo dropdown with a finger.

    iR, I am not sure how I can do that. I have tried to set the properties of the cell to middle.

    5-21-11 9-16-54 PM.png

  9. #9
    "Certified" Alphaholic Clunes's Avatar
    Real Name
    Mark Pearson
    Join Date
    Jan 2010
    Location
    Brisbane, Queensland, Australia
    Posts
    1,001

    Default Re: Lookup cell alignment issue.

    While on this topic, does any one know how to align the drop down list. In my live preview it is left algned which is what I want. When I load to the server and view it is now centered. There doesn't seem to be an inline style to correct this. It only happens on the lookup on a textbox. If I use the combo there is no problem, however I want edit for a reason
    -----------------------------------------------
    Regards
    Mark Pearson
    mark.pearson@onestopsolutions.com.au
    Youtube channel
    Website

  10. #10
    "Certified" Alphaholic iRadiate's Avatar
    Real Name
    Stephen
    Join Date
    Jan 2011
    Location
    London, ON, Canada
    Posts
    1,715

    Default Re: Lookup cell alignment issue.

    Frank, I was thinking of the Label or Cell In-Line Style and setting the Position Mode settings. Looking at your first screenshot, I'm not sure it will do what you need.
    Attached Images Attached Images

  11. #11
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,862

    Default Re: Lookup cell alignment issue.

    Yes, the Text Box Properties, In-Line Style

    position: relative; top: -6px;

    works well for the large Icon I was using. You'll need to adjust a bit depending on your Icon, but this will do it. While testing, I found that doing a Live Preview, without saving first, did not incorporate the change.

  12. #12
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    Thanks guys. I didn't think to try the textbox alignment properties. I assumed that just controlled the text properties inside the textbox. But that did the trick and -6px was right on the money. Thanks again for the lesson.

  13. #13
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    Quote Originally Posted by Clunes View Post
    While on this topic, does any one know how to align the drop down list. In my live preview it is left algned which is what I want. When I load to the server and view it is now centered. There doesn't seem to be an inline style to correct this. It only happens on the lookup on a textbox. If I use the combo there is no problem, however I want edit for a reason
    At the bottom of the lookup definition - edit combo builder dialog you can create a display template. Just use one of the sample layouts and you can see what results you get.

  14. #14
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    Spoke too soon. The suggestion works in working preview but is not working in the browsers. Any other ideas?

  15. #15
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,862

    Default Re: Lookup cell alignment issue.

    My test icon isn't as pretty as yours, but works in Live Preview and published locally... looking good under Firefox and Chrome.
    Attached Images Attached Images

  16. #16
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Lookup cell alignment issue.

    I changed from -6 pixel to -6 point and it lines up OK in the browser not sure of why since I use pixel for all of my other alignment settings and all works well. Thanks again for your help.

Similar Threads

  1. MySQL/Lookup Issue with New Build
    By nlk10010 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 13
    Last Post: 02-25-2011, 10:46 AM
  2. Lookup field rule fill issue
    By Mike Wilson in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 09-28-2008, 02:17 PM
  3. lookup issue
    By Rick Scali in forum Alpha Five Version 4
    Replies: 2
    Last Post: 12-08-2004, 06:07 AM
  4. Lookup() syntax issue
    By Jeffrey Wolfe in forum Alpha Five Version 5
    Replies: 2
    Last Post: 08-27-2004, 06:17 AM
  5. Issue with table lookup
    By CALocklin in forum Alpha Five Version 5
    Replies: 11
    Last Post: 08-26-2002, 02:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •