Remove Border from LineEdit or TextEdit

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By anomalyaces
:warning: Old Version Published before Godot 3 was released.

There is a blue border around the LineEdit node when selected and I would like to know how to remove it

:bust_in_silhouette: Reply From: eons

The blue line around controls is the “focus” indicator, try setting a custom style for the focus as a new StyleBoxEmpty.

You may be able to change that on the theme too (but I have no idea of how to work with the theme editor).

@eons - You were spot on.
I will explian how to do this step by step.

  1. Select the LineEdit Node in the Scene.
  2. In the Inspector, find the theme section click the down arrow and
    select “New Theme”
  3. Scroll Down to the LineEdit Section and find the Styles Section.
  4. For the Focus and Normal sections click the down arrow and choose
    “New StyleBoxEmpty”

anomalyaces | 2017-02-20 18:47