This is a migrated thread and some comments may be shown as answers.

Tab positioning

6 Answers 95 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Steve Y
Top achievements
Rank 2
Steve Y asked on 22 Feb 2009, 04:33 AM
Now that TabBaseLine="true" has been introduced (in 2009 Q1), I would like to propose another way to get finer control for tab layouts/positioning. Currently it's possible to align left, right, centered and justified. The tabbaseline extends the control's visual nicely to the right, left or both depending on the alignment chosen. I want to be able to set the starting tab position (or gap if you like) on the left or right depending on alignment wanted.

So. A left start position of 12px with a left alignment would have a TabBaseLine of 12px before the Tabs actually started (or if no baseline specified, a blank gap of 12px). The same for a right start position of, e.g 15px for right alignment. If justified, a (seperate) left gap and right gap would be enabled. An alignment of center would also allow an offset on one side or ther other to be taken into account.

Thanks and regards,
Steve

6 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 23 Feb 2009, 02:57 PM
Hi Steve Y,

I guess you can easily achieve your goal using separator tabs with fixed width.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Steve Y
Top achievements
Rank 2
answered on 24 Feb 2009, 02:14 PM
Hi Paul,

Thanks for your reply. This would indeed be the answer if I could get it to work. I've tried using the current Beta and the previous 2008 Q3 release. Here's what I have.

<Telerik:RadTabStrip ID="RadTabStrip1" runat="server"
    <Tabs> 
        <Telerik:RadTab runat="server" Text="tab1" /> 
        <Telerik:RadTab runat="server" Text="tab2" /> 
        <Telerik:RadTab runat="server" IsSeparator="true" Width="20px" /> 
        <Telerik:RadTab runat="server" Text="tab3" /> 
        <Telerik:RadTab runat="server" Text="tab4" /> 
    </Tabs> 
    </Telerik:RadTabStrip> 

What I get is just the four tabs with no separator.

What am I doing wrong?

Thanks, Steve
0
Paul
Telerik team
answered on 25 Feb 2009, 02:45 PM
Hello Steve Y,

Yes, this is a bug in the beta and it will be addressed in the final release.

Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stephen
Top achievements
Rank 1
answered on 26 Mar 2009, 08:33 AM
Was this ever fixed?  I still don't see a separator between tabs.
0
Paul
Telerik team
answered on 26 Mar 2009, 09:56 AM
Hi Stephen,

Indeed, you are right; this fix will be included in the next internal build. Please excuse us for the inconvenience we might have caused you.

Best wishes,
Paul
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Stephen
Top achievements
Rank 1
answered on 26 Mar 2009, 04:34 PM
Thanks for the quick reply.  I was fortunately able to work around it by modifying the skin.
Tags
TabStrip
Asked by
Steve Y
Top achievements
Rank 2
Answers by
Paul
Telerik team
Steve Y
Top achievements
Rank 2
Stephen
Top achievements
Rank 1
Share this question
or