HP Forums
menu label size - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: menu label size (/thread-2584.html)



menu label size - Giancarlo - 12-08-2014 09:14 AM

Hello,
who knows the GROB size of a menu label? i'd like to do some test.

Thanks for any help,

Giancarlo


RE: menu label size - Snorre - 12-08-2014 09:42 AM

height is 20 pixels.
widths are 5x52 and 1x55 (last one) pixels + 1 pixel spacing between each two.


RE: menu label size - Giancarlo - 12-08-2014 11:16 AM

Hello,
strange enough it seems that the DRAWMENU command takes different size of icons. I tried 50 x H 20 and also 53 x 23 and it worked anyway.

I used the DIMGROBhelper to create the icon.

Here you are the code:
Code:

EXPORT DRAWMENU_ICON_2()
BEGIN

STARTVIEW(-1);
DRAWMENU("uno","name","tre");
WAIT(-1);
END;

ICON name 89504E470D0A1A0A0000000D494844520000003500000014010300000017D8E7A0000000065​04C5445FFFFFFFF0000EB5AE7930000000274524E5300007693CD380000009E4944415478015D8EA​D0AC25000468F4CBC17659B980CFECC37980CDFC207D0B6B4641E36278A82C560B0582D161FC181C​53758B0EC0964F10A63D7D9C4AF7DE11C0EFF337426884114E3E9CA81EA2879074DB030D3790FEC8​354D63042068FF5D18D919D56E4643E8DA7B8A9D4C73E16BAB28C304E83FD7D5772F54DEE79D076C​536D760C6976BF22A3D213621D4BA93BE9A955F9FB556DF8285FAC9F9002E422CE8CC9DFC7B00000​00049454E44AE426082;

Here the screenshot:

[Image: 97d8f95f-f754-4090-a25b-1666f23b4d79_zpsf0fe366c.png]

Thanks

Giancarlo