Thread: MAKI Cheats
View Single Post
Old 18th January 2003, 13:38   #241
hammerhead
The Shark
(Forum King)
 
hammerhead's Avatar
 
Join Date: Jul 2002
Posts: 2,537
Send a message via AIM to hammerhead
Exclamation Resize2Full

Heres a small script I wrote for Evo that resizes your layout to 100%.

Quote:
//--------------------------------------------------------------------
//Resize2Full.m
//
// A small script to resize a layout to its full 100%.
//
// Thanks to Gonzotek for giving some maki resize code for this.
// created by Hammerhead aka Kabir Chanrai
//--------------------------------------------------------------------
// USING THIS SCRIPT:
//********************************************************************
// 1.Make sure your container which contains the layout is called 'main',
// and the layout 'normal'. If they are not, change them, or redefine
// them in the .m .
//
// 2.Define the following in your XML layout Normal:
// <button
// id="player.main.resizetofull"
// image="player.resize2full"
// downimage="player.resize2full.down"
// x="?" y="?"
// />
// 3. Copy this script (and Resize2Full.maki) to your scripts folder.
// 4. If you don't have Resize2Full.maki, compile this script.
// 5. Add this line to your script.xml, or anywhere outside the main
// container:
//
// <script id="resize2full" file="scripts/Resize2Full.maki"/>
//
//6. Refresh your skin(F5) and try it out.
//********************************************************************
Have fun!
Hammerhead
Attached Files
File Type: zip resize2full.zip (1.8 KB, 1396 views)
hammerhead is offline   Reply With Quote