TMenuItem height [Fixed]

User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

In the latest FWH the height of menuitems is too much. :-(

Please compare with the Windows desktop menu and adjust it.

EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: TMenuItem height

Post by cnavarro »

Enrico, más alto o más pequeño?

Enrico, higher, or smaller?

Image
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
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

Cristobal, did you receive my EXE?

EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: TMenuItem height

Post by cnavarro »

Yes, wait
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
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: TMenuItem height

Post by cnavarro »

I do not understand
My answer was not by mail about your EXE?
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
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

Are you referring to GetnHeightItem( 2 )? Ok, but you should change static nHeightItem := 2 //1.66. Or am I missing something?

EMG
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

The problem is that the menu in this sample is higher and larger than it should be (compared with Notepad), even using latest FWH official build. Can you look at it, please?

Code: Select all | Expand

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    ACTIVATE DIALOG oDlg;
             ON RIGHT CLICK MAINMENU( nRow, nCol, oDlg );
             CENTER

    RETURN NIL


STATIC FUNCTION MAINMENU( nRow, nCol, oDlg )

    LOCAL oMen

    MENU oMen POPUP
        MENUITEM "Nuovo" + CHR( 9 ) + "CTRL+N"
        MENUITEM "Apri..." + CHR( 9 ) + "CTRL+F12"
        MENUITEM "Salva" + CHR( 9 ) + "CTRL+S"
        MENUITEM "Salva con nome..."

        SEPARATOR

        MENUITEM "Imposta pagina..."
        MENUITEM "Stampa..." + CHR( 9 ) + "CTRL+P"

        SEPARATOR

        MENUITEM "Esci"
    ENDMENU

    ACTIVATE MENU oMen AT nRow, nCol OF oDlg

    RETURN NIL


EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: TMenuItem height

Post by cnavarro »

Please put any image for compare

Image
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
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

That's not what I get using latest official FWH release. This is what I get:

Image

EMG
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: TMenuItem height

Post by Enrico Maria Giordano »

Sorry for bothering you but... any news? :-)

I think this is an important issue, isn't it? Somebody else interested? Or am I the only one?

EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: TMenuItem height

Post by cnavarro »

Enrico,
We are making a final decision on this issue
Thanks
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
Post Reply