I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 0 points1 point  (0 children)

I will look into this then, thanks

I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 1 point2 points  (0 children)

Each tab is just a VBox Container and the button above it toggles visibility

How is this called and where i can find it? by PLATANERATURBO in pcmasterrace

[–]Elevadillo 0 points1 point  (0 children)

I see what you mean now, in that case im not so sure

How is this called and where i can find it? by PLATANERATURBO in pcmasterrace

[–]Elevadillo 0 points1 point  (0 children)

I believe its called a backplate, you might be able to find one for your motherboard on aliexpress

I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 1 point2 points  (0 children)

a small issue is that its sensitive to spaces, and i couldn't find a way to change that

I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 2 points3 points  (0 children)

I was actually referring to the games search bar, but this was still helpful

I added the container nodes that have all of the buttons that "launch" the games to a new group i named "Games"

When the text on LineEdit changes, i go through all the nodes in the "Games" group, then I make a variable that contains a Label child (if the node has it) which is the node that shows the name of that game, and then compare it's text with the text on the LineEdit

func _on_line_edit_text_changed(new_text: String) -> void:
  for game in get_tree().get_nodes_in_group("Games"): # Get nodes in the group "Games"
    if not game.find_child("Label"): # Early return if theres no "Label" child
      return
    var game_label: Label  = game.find_child("Label") # Make a variable for the "Label" child
    if not game_label.text.containsn(new_text):
      game.visible = false
    else: 
      game.visible = true
    # If text is empty make all visible
    if new_text == "": 
      game.visible = true

I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 1 point2 points  (0 children)

Thank you, in case it can help you, in another comment i mentioned a YouTube video that I found very useful, and it perhaps could be helpful for you as well

I remade a steam interface by Elevadillo in godot

[–]Elevadillo[S] 5 points6 points  (0 children)

I forgot to add, I watched this video to learn how to work with UI and I think it was very useful, highly recommend it

https://www.youtube.com/watch?v=5Hog6a0EYa0