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.

Remove Scroll bar from combobox

Discussion in 'Immediate Mode GUI (IMGUI)' started by iainprice, Apr 7, 2022.

  1. iainprice

    iainprice

    Joined:
    Apr 4, 2018
    Posts:
    6
    Hi,

    I have a generated combobox but sometimes it is too large and so has a scroll bar on the side. The problem is that if you try to scroll with the bar, this is classed as clicking off the combobox and my code destroys the combobox if you click off it. Is there a way to detect clicking on the scrollbar? Or forcing the dropdown to show all items rather than having a scroll bar? Or is there another way to create a list of clickable items to be selected?

    Thanks