Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #3875. Add left and right tab sides with alignments to the TabView. #3876

Open
wants to merge 21 commits into
base: v2_develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Terminal.Gui/Views/TabView/Tab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ public string DisplayText
set
{
_displayText = value;
DisplayTextChanged?.Invoke (this, EventArgs.Empty);
SetNeedsLayout ();
}
}

/// <summary>The control to display when the tab is selected.</summary>
/// <value></value>
public View? View { get; set; }

/// <summary>
/// Raised when <see cref="DisplayText"/> changed.
/// </summary>
public event EventHandler? DisplayTextChanged;
}
Loading
Loading