mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Done requested changes.
This commit is contained in:
@@ -383,9 +383,8 @@ namespace Terminal.Gui {
|
||||
}
|
||||
}
|
||||
|
||||
// Fill in the bottom left corner
|
||||
// BUGBUG: ScrollBarView should be responsible for this via contentBottomRightCorner
|
||||
// this is only true if this is hosted by the ScrollBarView and it isn't
|
||||
// Fill in the bottom left corner. Note we don't rely on ScrollBarView.contentBottomRightCorner here
|
||||
// because that only applies when ScrollBarView is hosted.
|
||||
if (ShowVerticalScrollIndicator && ShowHorizontalScrollIndicator) {
|
||||
AddRune (Bounds.Width - 1, Bounds.Height - 1, ' ');
|
||||
}
|
||||
|
||||
@@ -1309,7 +1309,7 @@ namespace Terminal.Gui.ViewTests {
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Dim_Referencing_SuperView_Does_Not_Throws ()
|
||||
public void Dim_Referencing_SuperView_Does_Not_Throw ()
|
||||
{
|
||||
var super = new View ("super") {
|
||||
Width = 10,
|
||||
|
||||
@@ -1810,7 +1810,7 @@ Y
|
||||
}
|
||||
|
||||
[Fact, AutoInitShutdown]
|
||||
public void PosConbine_DimCombine_View_With_SubViews ()
|
||||
public void PosCombine_DimCombine_View_With_SubViews ()
|
||||
{
|
||||
var clicked = false;
|
||||
var top = Application.Top;
|
||||
|
||||
@@ -617,13 +617,13 @@ namespace Terminal.Gui.ViewsTests {
|
||||
ShowVerticalScrollIndicator = true
|
||||
};
|
||||
scrollView.Add (view);
|
||||
var win = new Window (new Rect (1, 1, 20, 14), "Test");
|
||||
var win = new Window (new Rect (1, 1, 20, 14), "");
|
||||
win.Add (scrollView);
|
||||
Application.Top.Add (win);
|
||||
Application.Begin (Application.Top);
|
||||
|
||||
var expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 01234567890123▲ │
|
||||
│ 1[ Press me! ]┬ │
|
||||
@@ -647,7 +647,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 12345678901234▲ │
|
||||
│ [ Press me! ] ┬ │
|
||||
@@ -671,7 +671,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 23456789012345▲ │
|
||||
│ Press me! ] ┬ │
|
||||
@@ -695,7 +695,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 34567890123456▲ │
|
||||
│ Press me! ] ┬ │
|
||||
@@ -719,7 +719,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 45678901234567▲ │
|
||||
│ ress me! ] ┬ │
|
||||
@@ -743,7 +743,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 56789012345678▲ │
|
||||
│ ess me! ] ┬ │
|
||||
@@ -767,7 +767,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 67890123456789▲ │
|
||||
│ ss me! ] ┬ │
|
||||
@@ -791,7 +791,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 78901234567890▲ │
|
||||
│ s me! ] ┬ │
|
||||
@@ -814,7 +814,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 67890123456789▲ │
|
||||
│ ┬ │
|
||||
@@ -838,7 +838,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 1[ Press me! ]▲ │
|
||||
│ 2 ┬ │
|
||||
@@ -861,7 +861,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 2 ▲ │
|
||||
│ 3 ┬ │
|
||||
@@ -884,7 +884,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 3 ▲ │
|
||||
│ 4 ┬ │
|
||||
@@ -907,7 +907,7 @@ namespace Terminal.Gui.ViewsTests {
|
||||
Application.Top.Redraw (Application.Top.Bounds);
|
||||
|
||||
expected = @"
|
||||
┌┤Test├────────────┐
|
||||
┌──────────────────┐
|
||||
│ │
|
||||
│ 1 ▲ │
|
||||
│ 2 ░ │
|
||||
|
||||
Reference in New Issue
Block a user