menu.NoVoteButton = true; results in misaligned paginated menu controls
1 Attachment(s)
menu.NoVoteButton = true; results in misaligned paginated menu controls
Page #1 http://war3evo.info/shrx/5ddb/84c8.png Page #2 http://war3evo.info/shrx/5ddb/2530.png Page #3 http://war3evo.info/shrx/5ddb/9edb.png sm version SourceMod Version Information: SourceMod Version: 1.9.0.6281 SourcePawn Engine: 1.9.0.6281, jit-x86 (build 1.9.0.6281) SourcePawn API: v1 = 4, v2 = 12 Compiled on: May 14 2019 16:03:05 Built from: https://github.com/alliedmodders/sou...commit/c5efe48 Build ID: 6281:c5efe48 http://www.sourcemod.net/ |
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
I don't understand what is wrong with this menu? Cosmetically it looks fine.
|
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
The menu is supposed to be:
8. Back 9. Next both coloured in orange. Like this one: http://war3evo.info/shrx/5ddb/066e.png |
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
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) |
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
Votes usually don't have an Exit button, so Previous and Next get moved down.
|
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
Quote:
Quote:
Quote:
|
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu
Quote:
|
All times are GMT -4. The time now is 04:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.