TMenuItem height [Fixed]

User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TMenuItem height

Post by cnavarro »

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

Enrico, higher, or smaller?

Image
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TMenuItem height

Post by cnavarro »

Yes, wait
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TMenuItem height

Post by cnavarro »

I do not understand
My answer was not by mail about your EXE?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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

#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: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TMenuItem height

Post by cnavarro »

Please put any image for compare

Image
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TMenuItem height

Post by cnavarro »

Enrico,
We are making a final decision on this issue
Thanks
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Post Reply