FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Width of the menu title
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Width of the menu title
Posted: Mon Sep 14, 2015 06:58 AM

Hello,

Is there a possibility to influence the width of the title of a menu in th menu-bar? Can we define the length of the blanc space in front and at the back of the name?

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 07:45 AM

Michel
I do not understand your question
It refers to the width occupied each MENUITEM?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 09:08 AM

Michel,

Have you tried to add spaces before and after the menuitem text ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 10:03 AM
Antonio,
Cristobal,

I'm going to give you 3 examples :

1. Screen is set to 100 % (= 96 DPI). Everything is fine :




2. Screen is set to 125 % (= 120 DPI). Look how wide the menutitles are.




3. Look how the menutitles are disappearing if I go over them with my mouse from right to left. The titles appear again if I go over them from left to right :




Antonio, I don't want to add spaces to the titles. I want the titles to be smaller in 120 DPI.

Thanks, guys.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 02:23 PM

Michel,

understood. We are going to check it, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 03:11 PM

Michel,
Which font you're using in the initial creation of the menu?
regards

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 03:56 PM

Cristobal,

No specific font is defined for my menu's.
So, the font defined in Windows is used, I presume.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Width of the menu title
Posted: Tue Sep 15, 2015 04:06 PM
driessen wrote:Cristobal,

No specific font is defined for my menu's.
So, the font defined in Windows is used, I presume.


Ok, understood
Regards
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion