Hello,
I have big buttonbar-buttons and hight screen-resolutions.
The text is hard to read.
I had a look in the classes and could't see any font defines.
Is it possible to change the font-size for buttonbars ?
Regards
Uwe
Possible, to change fonts in Buttonbar (2007) ?
Possible, to change fonts in Buttonbar (2007) ?
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Change font in Buttonbar
Antonio,
thank you very much.
As a option, i will make it
in relation of the button-hight
That looks fine
Regards
Uwe [/code]
thank you very much.
As a option, i will make it
in relation of the button-hight
Code: Select all
nSIZE := -11
if ::nHeight >= 100
nSIZE := -16
endif
if ::nHeight < 100 .and. ::nHeight >= 80
nSIZE := -15
endif
if ::nHeight >= 50 .and. ::nHeight < 80
nSIZE := -12
endif
if ::oWnd:oFont != nil
if ::oWnd:oFont:cFaceName != "Tahoma"
DEFINE FONT oFont NAME "Tahoma" SIZE 0, nSIZE
::oWnd:SetFont( oFont )
endif
else
DEFINE FONT oFont NAME "Tahoma" SIZE 0, nSIZE
::oWnd:SetFont( oFont )
endif
Regards
Uwe [/code]
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.