View Single Post
Dagothur
Member
Join Date: Dec 2014
Old 08-27-2019 , 21:11   Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
Reply With Quote #6

Quote:
Originally Posted by Halt View Post
Disclaimer we might not have enough to work with in order to solve it here.

1. You're using old syntax
2. You didn't even follow the wiki for writing this. Whats the point of using the old syntax and not using the SM wikis?

Not saying you're wrong or bashing you. But I recommend using the new pawn syntax. And if you stick to the old then follow the instructions on creating a menu.

https://wiki.alliedmods.net/Menu_API_(SourceMod)
I copied the code out of UMC and modified it slightly to compile in its own plugin, but yeah, fair enough, I'll keep these things in mind before posting next time.

Quote:
Originally Posted by Powerlord View Post
Votes usually don't have an Exit button, so Previous and Next get moved down.
Saving slots does make sense but I would expect the control to at least be coloured orange (the glance value of a gray 0. Next control feels misleading). This excerpt from Halt's link also suggests this behavior is not intended:

Quote:
"Next" is always drawn as the second navigation item, second from the last supported position. This will not be drawn if the menu only contains one page. If there are no further pages, the text will not be drawn on either style; if possible, the menu will be padded so spacing is consistent.

Valve Style position: 7
Radio Style position: 9
Dagothur is offline