Skip to content

Commit

Permalink
derp
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Aug 1, 2023
1 parent 29d0d57 commit fb7c809
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
14 changes: 0 additions & 14 deletions src/cascadia/TerminalApp/SettingsPaneContent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,7 @@ namespace winrt::TerminalApp::implementation
{
SettingsPaneContent::SettingsPaneContent(CascadiaSettings settings)
{
_root = winrt::Windows::UI::Xaml::Controls::Grid{};
_root.VerticalAlignment(VerticalAlignment::Stretch);
_root.HorizontalAlignment(HorizontalAlignment::Stretch);

_sui = winrt::Microsoft::Terminal::Settings::Editor::MainPage{ settings };

auto res = Windows::UI::Xaml::Application::Current().Resources();
auto bg = res.Lookup(winrt::box_value(L"UnfocusedBorderBrush"));
_root.Background(bg.try_as<Media::Brush>());

_box = winrt::Windows::UI::Xaml::Controls::TextBox{};
_box.Margin({ 10, 10, 10, 10 });
_box.AcceptsReturn(true);
_box.TextWrapping(TextWrapping::Wrap);
_root.Children().Append(_box);
}

winrt::Windows::UI::Xaml::FrameworkElement SettingsPaneContent::GetRoot()
Expand Down
1 change: 1 addition & 0 deletions src/cascadia/TerminalApp/SettingsPaneContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#pragma once
#include "SettingsPaneContent.g.h"
#include <LibraryResources.h>

namespace winrt::TerminalApp::implementation
{
Expand Down

0 comments on commit fb7c809

Please sign in to comment.