[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
TABBEDPANETAB text size  XML
Forum Index -> Development
Author Message
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Hi Captain,

How can I edit the text size of the tabbedpane tab? I tried using the font attribute on tabbedpane but it didnt work? Is there a way?

Thanks!
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

uuuh, you are right: the TABBEDPANE-FONT attribute is not respected, but should be! Sorry... We will fix for next update (typically at Monday of a week).

Nevertheless: you may of course change by defining an own style (and maybe that's even the better way to do it, if you want to change it for all occurances of TABBEPAND).

In the style definition there are certain options:


Code:
 1. Make big font bigger everywhere (TABEBDPANE, FOLDABLEPANE, ROWTITLEBAR, OUTLOOKBAR, ...):
 <stylesheet>
     <var n="@fontBigSize@" v="25"/>
     ...
 </stylesheet>
 
 
 2. Make big font bigger only for TABBEDPANE:
 <stylesheet>
     ...
     <class n="risctabbedpane">
         <var n="@fontBigSize@" v="25"/>
     </class>
    ...
 </stylesheet>
 


Hope this helps... You may have no looked into the style management yet, so the XML-information might not help you immediately. The style management is described in the Developer's Guide.

Regards, Björn

Björn Müller, CaptainCasa GmbH
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Alright, will wait for your update then. Thanks
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Hi Captain,

Downloaded the August version, but still not able to resize the tab text using font attribute in tabbedpane.
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team