Alpha Video Training
Results 1 to 3 of 3

Thread: Fixed Width Tabs

  1. #1
    Member
    Real Name
    Richard James
    Join Date
    Jun 2004
    Location
    Atlanta, Ga.
    Posts
    226

    Default Fixed Width Tabs

    We are developing a UX that has a tab control with five tab panes. In the desktop version, the width of the tabs can be set to a fixed amount -- perhaps one inch each. Is there a way to do this on the UX tab control?

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

    Default Re: Fixed Width Tabs

    In your Tab Control properties, CSS, Tab Classname, Tab Selected Classname, use the class name "tabControlWidth" - no quotes. Do this in the Tab Control properties... not each Tab Pane property.

    In UX Properties, Local CSS definitions... add this...

    Code:
    .tabControlWidth {
    	width: 200px;
    }
    .tabItemBand {
    	text-align: left;
    }
    This will left-align the tab titles, and set the width of each tab to 200px. The actual size of the pane will be a bit more... e.g. 228px... because of the padding Alpha puts in.

  3. #3
    Member
    Real Name
    Richard James
    Join Date
    Jun 2004
    Location
    Atlanta, Ga.
    Posts
    226

    Default Re: Fixed Width Tabs

    David --

    Thank you for your reply. It worked great and makes the tabs much more attractive! (We used 150 px.) I wish Alpha would make this a setting in the tab control properties so that it would not be necessary to add a CSS definition. Perhaps they could put this in a future version.

    -- Dick James

Similar Threads

  1. Grouping Fixed Width grids
    By pcaspa in forum Mobile & Browser Applications
    Replies: 0
    Last Post: 02-21-2017, 10:46 PM
  2. Fixed column width problem with scrolling grid
    By nlights in forum Application Server Version 11 - Web/Browser Applications
    Replies: 16
    Last Post: 03-17-2012, 12:29 AM
  3. Fixed Column Width Frustration
    By Turnbullca in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 10-23-2011, 04:18 PM
  4. Importing fixed width text question...
    By Jason Fowler in forum Alpha Five Version 5
    Replies: 2
    Last Post: 01-13-2004, 09:55 AM
  5. Importing Fixed Width ASCII Files With XBASIC
    By Jeff Strong in forum Alpha Five Versions 2 and 3
    Replies: 1
    Last Post: 02-25-2001, 09:07 AM

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
  •