Skip to content

Content does not support tab characters #145

@antikmozib

Description

@antikmozib

It seems the TaskDialog doesn't support tab characters. For example,

TaskDialog taskDlg = new()
{
    WindowTitle = "Test",
    Content = "Lorem ipsum dolor sit amet,"
        + "\n\tconsectetur adipiscing elit."
        + "\n\t\tAliquam erat volutpat."
};
taskDlg.Buttons.Add(new TaskDialogButton(ButtonType.Ok));
taskDlg.ShowDialog();

shows the following:
ookii

WinForms MessageBox renders the tabs correctly:
msgbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions