Godot 4 UI Tutorial: How to Disable or Hide Tabs in a Tab Container

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 7

  • @danilolacerda7711
    @danilolacerda7711 4 месяца назад +1

    Thank you, it really helped

    • @Peebly
      @Peebly  4 месяца назад

      Glad you found it useful!

  • @beeast4853
    @beeast4853 3 месяца назад +1

    awesome!

  • @jordan4longshaw
    @jordan4longshaw 2 месяца назад +1

    Cool to know, but how do I enable them?
    I'm new to Godot, and have my Tabs as the child of a Tab Container. My menu works in every way except the tabs, they appear, but none are intractable.
    The "back" button at the bottom of my screen works fine though. Is there a toggle that I don't know about? Hope you can help :)
    Edit: FIXED. Flipping between TabBars manually via the inspector for the TabContainer, seems to have sorted it as they work since having done that

    • @Peebly
      @Peebly  2 месяца назад +1

      I know if you use tabs instead of just panels you need do some magic to get it to work intuitively. In the video my tabs are Panel Containers. Glad you found a solution that seems to have worked!

    • @Boyotheboy
      @Boyotheboy 2 месяца назад

      You can use tabContainer.set_tab_disabled(1,false) on a signal from a timer or a button to reactive, same with hiding, it's only changing true to false