improved API docs, removed duplicate code, refactored to make more readable

This commit is contained in:
Tig Kindel
2023-03-17 18:30:39 -06:00
committed by Tig
parent 752574a542
commit ab2bda109b
12 changed files with 236 additions and 181 deletions

View File

@@ -324,8 +324,8 @@ namespace Terminal.Gui.ViewTests {
private Label labelFill;
private Label labelText;
public CustomButton (string fill, ustring text, int width, int height)
{
public CustomButton (string fill, ustring text, int width, int height) : base()
{
Width = width;
Height = height;
labelFill = new Label () { AutoSize = false, Width = Dim.Fill (), Height = Dim.Fill (), Visible = false };