Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How to change button's hitbox

Discussion in 'Immediate Mode GUI (IMGUI)' started by Crew345, Jun 18, 2015.

  1. Crew345

    Crew345

    Joined:
    May 29, 2015
    Posts:
    6
    When I have changed Source Image of Button's Image component, Source Image has become smaller than button's hitbox. It doesnt stretch to all hitbox size and now I want to make Source Image the same size as hitbox or vice versa. How can I make it? Help, please!
     
  2. Delepiv

    Delepiv

    Joined:
    Aug 7, 2021
    Posts:
    1