24 lines
463 B
C#
24 lines
463 B
C#
|
|
using Godot;
|
||
|
|
using System;
|
||
|
|
|
||
|
|
[GlobalClass]
|
||
|
|
public partial class LabelLineEdit : HBoxContainer
|
||
|
|
{
|
||
|
|
#region Exports
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
#region Nodes
|
||
|
|
private Label _labelNode;
|
||
|
|
private LineEdit _lineEdit;
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
public LabelLineEdit()
|
||
|
|
{
|
||
|
|
_labelNode = new Label();
|
||
|
|
_lineEdit = new LineEdit();
|
||
|
|
_lineEdit.SizeFlagsHorizontal = SizeFlags.ExpandFill;
|
||
|
|
AddChild(_labelNode);
|
||
|
|
AddChild(_lineEdit);
|
||
|
|
}
|
||
|
|
}
|