Skip to content

Commit 1f0b169

Browse files
authored
Merge pull request #26 from thimmy687/master
fix line wrapping
2 parents 24ad6fc + ffaa161 commit 1f0b169

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

src/GitExtensions.GerritPlugin/FormGitReview.Designer.cs

Lines changed: 11 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GitExtensions.GerritPlugin/FormGitReview.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ public sealed partial class FormGitReview : GitExtensionsForm, IGitUICommandsSou
2626
private readonly TranslationString _saveFileQuestionCaption =
2727
new TranslationString("Save changes?");
2828

29+
private readonly TranslationString _description = new TranslationString(@$"Example configuration
30+
31+
[gerrit]
32+
host=review.example.com
33+
port=29418
34+
project=department/project.git
35+
defaultbranch=master
36+
defaultremote=review
37+
defaultrebase=0");
38+
2939
private string _originalGitReviewFileContent = string.Empty;
3040
private IGitModule Module => UICommands.GitModule;
3141

@@ -47,6 +57,7 @@ public FormGitReview(IGitUICommands uiCommands)
4757
: base(true)
4858
{
4959
InitializeComponent();
60+
label1.Text = _description.Text;
5061
InitializeComplete();
5162

5263
UICommands = (GitUICommands)uiCommands;
@@ -158,4 +169,4 @@ private void lnkGitReviewPatterns_LinkClicked(object sender, LinkLabelLinkClicke
158169
Process.Start(@"https://github.com/openstack-infra/git-review#git-review");
159170
}
160171
}
161-
}
172+
}

0 commit comments

Comments
 (0)