Question

Tab style

Posted 5 years ago by Avatar Mike Benson - CTO, Abakos, Inc.
How can I change the style of just the tab content on a document window?

I have issues on certain systems where the tab text is clipped on the left and right sides and the context images run into the text of the active tab.

Comments (10)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Mike,

Do you have a sample that shows this happening that you could email over? If it's a bug, we'd like to fix it.

Actipro Software Support
Posted 5 years ago by Mike Benson - CTO, Abakos, Inc.
Its not project related, it appears to be video card related. On one computer it will look fine, on another computer it will cut off the text.

So in short, no... The only workaround I have is to pad the ends of the text.
Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
What if you have those computers upgrade their video card drivers? Sometimes that helps with display issues in WPF.

Actipro Software Support
Posted 5 years ago by Mike Benson - CTO, Abakos, Inc.
Already did that, the ones we know have issues are dell NVS280 cards running vista.
Posted 5 years ago by Mike Benson - CTO, Abakos, Inc.
So, is there a way to template the tabs? I would also like to add a control to the tab header.
Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Mike,

In that case, if you needed to change the style you'd probably need to make one like this in your resources:
<Style x:Key="{x:Static dockingThemes:DockingCommonDictionary.TabbedMdiDocumentStyleKey}" TargetType="{x:Type docking:DockingWindow}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="{x:Type docking:DockingWindow}">
        ...
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>
That may let you change the template.

Actipro Software Support
Posted 5 years ago by Mike Benson - CTO, Abakos, Inc.
Any chance you could post the stock template so I dont have to redo the entire thing?
Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Mike if you are a licensed customer, send us an email and we can email you the templates.

Actipro Software Support
Posted 2 years ago by Clemens Schmuck

Hi I am a licenced user. Can I get some stock template to style the tab of dock site, 

I would style them as VS2010 tab style. Please suggest where to start at least!!

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Clemens,

Per above, please email our support address and we'll send them to you.


Actipro Software Support
Information The latest build of this product (2014.1 build 0601) was released 30 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.