SA-MP Forums Archive
Menu items line up - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Menu items line up (/showthread.php?tid=249959)



Menu items line up - OldDirtyBastard - 21.04.2011



See how the prizes are kinda messy? I need them to line up nicely so they wont look so ugly.
I tried to correct it with couple spaces here and there but no success.
Any tips how can i make it look like i want it? It should look like the Items row.

Code:

pawn Код:
SetMenuColumnHeader(spshop, 0, "Item                 Cost");
AddMenuItem(spshop, 0, "Item 1              $ prize 1");
AddMenuItem(spshop, 0, "Item 2              $ prize 2");
AddMenuItem(spshop, 0, "Item 3              $ prize 3");
Thanks, regards.


Re: Menu items line up - Jeffry - 21.04.2011

pawn Код:
SetMenuColumnHeader(spshop, 0, "Item                 Cost");
AddMenuItem(spshop, 0, "Item 1");
AddMenuItem(spshop, 0, "Item 2");
AddMenuItem(spshop, 0, "Item 3");
AddMenuItem(spshop, 1, "$ prize 1");
AddMenuItem(spshop, 1, "$ prize 2");
AddMenuItem(spshop, 1, "$ prize 3");
Should be okey then.

Jeffry


Re: Menu items line up - OldDirtyBastard - 21.04.2011



Thank you very much, once again


Re: Menu items line up - Jeffry - 21.04.2011

Quote:
Originally Posted by OldDirtyBastard
Посмотреть сообщение
Thank you very much, once again
No problem.
Btw: What programm do you use to make these screens look like this, I mean the edge getting brighter.


Re: Menu items line up - OldDirtyBastard - 21.04.2011

I use photoshop's rectangular marque tool, the feather is set to 5 pixel.


Re: Menu items line up - Jeffry - 21.04.2011

Quote:
Originally Posted by OldDirtyBastard
Посмотреть сообщение
I use photoshop's rectangular marque tool, the feather is set to 5 pixel.
Thank you. I'll look if GIMP has that too.