Creating a Custom Tab System in Godot

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025
  • In this video, We would create a simple tab system in Godot, which can be customized with themes.
    Be sure to LIKE and SUBSCRIBE if you enjoyed this guide! Share the video for extra love!
    ---{Social }---
    Discord
    / discord
    Itch.io
    thegemdev.itch...
    Twitter(@TheGemDev) =
    / thegemdev
    Reddit
    / the_gem_dev
    Patreon
    / thegemdev
    Instagram(@TheGemDev)
    / thegemdev
    #godot #godotengine #godottutorial #godotisfun #godot4.0

ความคิดเห็น • 17

  • @me2beats313
    @me2beats313 3 ปีที่แล้ว +23

    Hi! Tabs is a different way to create TabContainer, Tabs should NOT be children of TabContainer.
    All you need is to add TextEdit and other tabs as TabContainer children directly.
    Also it's better to use Layout - FullRect to make a control have full size of the parent.

    • @TheGemDev
      @TheGemDev  3 ปีที่แล้ว

      Adding "text edit" as a child node to tab container ensures their position and size is determined only by their parent, which in this case is the "tab container". By so doing the "color picker" and "tabs" follow the size of the parent and that's not what we want.

    • @me2beats313
      @me2beats313 3 ปีที่แล้ว +6

      @@TheGemDev yeah, children of TabContainer fill the whole area.
      If you don't want this behavior, you can just add plain Control node as a TabContainer child and then the control (Button, etc).
      Again no need to use Tabs, just use Control instead of Tabs.
      Tabs is just another way to create a TabContainer.

  • @barycza
    @barycza ปีที่แล้ว +3

    Good job. Short and to the point.

  • @MrBrigadierArchived
    @MrBrigadierArchived 2 หลายเดือนก่อน

    thank you for the video. Still helps people a lot

  • @MartyJames23
    @MartyJames23 3 ปีที่แล้ว +3

    Thanks for the tutorial. I actually needed this for my text editor project.

    • @TheGemDev
      @TheGemDev  3 ปีที่แล้ว +1

      Glad you found it useful

  • @scorpion666lair
    @scorpion666lair 2 ปีที่แล้ว

    I'm so glad this was the first search result - very to the point, great vid - thanks!

  • @stranostrani9212
    @stranostrani9212 2 ปีที่แล้ว +2

    4:07 here it is not asking which scene you want to preview, it is asking if you want to set the current scene as main scene, because you pressed the button that runs the main scene (which shortcut is F5). If you want to run the current scene without setting it as main scenere, you can press F6 (or press the button on the top right, next to the stop button if you want to do it slowly >:/)
    Also it is much faster to remember some shortcut by association, like:
    For adding a child note you can just press: CTRL + A ( a for adding)
    For duplicating a selected node : CTRL + D ( d for duplicate)

  • @triberium_
    @triberium_ 2 ปีที่แล้ว +1

    Thank you! First time using tabs and your vid pretty much told me everything I needed to know.

    • @TheGemDev
      @TheGemDev  2 ปีที่แล้ว +1

      Glad it helped!, please share this tutorial.

  • @felipejhony6039
    @felipejhony6039 3 หลายเดือนก่อน

    Very informative, thank you!

    • @TheGemDev
      @TheGemDev  3 หลายเดือนก่อน

      Glad you enjoyed it!

  • @betterstayout0
    @betterstayout0 11 หลายเดือนก่อน

    Thank you for the video!!!! I really needed it

  • @mahmoud_ali_963
    @mahmoud_ali_963 2 หลายเดือนก่อน

    thank you very very very much

  • @AragamiMusic
    @AragamiMusic 2 ปีที่แล้ว +1

    And the download link in the description?

  • @vickylance
    @vickylance 2 ปีที่แล้ว +1

    Can you create a video on how to create a vertical tabs?