RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Is there anyway to resize the icon? <resolved>

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
is there anyway you can change the size of the icon to make it fit like the other pre-made icons?

any help from any people is well appreciated. :)
« Last Edit: January 03, 2007, 12:57:31 AM by anhhuy28 »
YOUR SIGNATURE WAS GINOURMOUS! - RMRK Sig Police

****
Rep:
Level 88
I'm back :P
Quote
@item_max = @data.size
    if @item_max > 0
      self.contents = Bitmap.new(width - 32, row_max * 32)
      self.contents.font.name = $defaultfonttype  # "Items" window font
      self.contents.font.size = $defaultfontsize
      for i in 0...@item_max
        draw_item(i)
      end
    end
  end
i believe here right after bitmap.new its in the window.item
but i could be wrong, im not really a good scripter

edit-
rect = Rect.new(x, y, self.width / @column_max - 32, 32)
or that one with the 32 32 thing, i dunno give it a shot

***
Rep:
Level 88
Random-Idiot
Chirstina is right,
Code: [Select]
rectangle = A Rect (x, y, width, height)
ALL HAIL ME™

**
Rep:
Level 88
ok, im a little confused about where to put that.
YOUR SIGNATURE WAS GINOURMOUS! - RMRK Sig Police

****
Rep:
Level 88
I'm back :P
like i said, search it in the window.item section of the script editor. ctrl + f and change 32 x 32 to your different item size

**
Rep:
Level 88
ok, thank you for your help! :)
YOUR SIGNATURE WAS GINOURMOUS! - RMRK Sig Police