Forum  General Visual ...  Let's Chat Abou...  Tab Control
Previous Previous
 
Next Next
New Post 7/22/2010 10:52 AM
  kenn.minear
422 posts
2nd Level Poster


Re: Tab Control 

 Hello, try changing the font, I have had trouble with MS Sans Serif truncating text when I increased the font size.  I changed my fonts to Tahoma and the text rendered correctly.

 

Hope this helps, Kenn

 


kenn@kennware.com
 
New Post 7/22/2010 11:56 AM
  mohsen
18 posts
No Ranking


Re: Tab Control 

 Hi Kenn,

I have it with Tahoma, after size 12 , it has the same issue.  I have to let uses change the font size  up to 22. May be Palli would have a suggestion.

thanks

 
New Post 7/28/2010 1:08 PM
  palli
14295 posts
1st Level Poster




Re: Tab Control 

Hi guys,

I have always something to say

According to this issue here, this behaviour is by design and is not going to be changed as the issue is flagged as "Won't fix".

However, you should be able to override the TabHeight via a Theme or even a Skinable Custom Control. I tested both in 6.4.0RC0a and the height of the Tab is sucessfully changed but this still is not fully working yet because of this issue here, which is scheduled to be fixed in version 7.0. What happens in this case is that the height of the Tab changes, the text is fully shown (I set the height to 40), but the images don't grow with the height increase... that's what the second issue will be fixing.

You can still make this work with some additional work on your behalf, by for instance creating Skinable TabControl for a few standard sizes and update the images in the control's resources to fit the height values you need.

Hope this helps,

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 7/29/2010 9:50 AM
  mohsen
18 posts
No Ranking


Re: Tab Control 

 Thanks Palli,

would you please post your test, that I can download .

Thanks

 
New Post 8/2/2010 3:47 PM
  palli
14295 posts
1st Level Poster




Re: Tab Control 

Hi mohsen,

This is really simple change to make, so I redid the control as I had already deleted the original, but you can download the application here. What I did was to make a Skinable TabControl and change the TabHeight to 40. Then I created a form with both the normal TabControl and the new one and set the font size to 16 Bold.

Of course you have to remember all the usual stuff, like you have to register the Skinable control you create etc.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Tab Control
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS