Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 0f26690

Browse files
committed
Repo summary row entries should be centered
Fixes #522
1 parent eb9afd5 commit 0f26690

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CodeHub.iOS/DialogElements/SplitButtonElement.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,13 @@ public SplitButton()
168168
_caption = new UILabel();
169169
_caption.TextColor = CaptionColor;
170170
_caption.Font = CaptionFont;
171+
_caption.TextAlignment = UITextAlignment.Center;
171172
this.Add(_caption);
172173

173174
_text = new UILabel();
174175
_text.TextColor = TextColor;
175176
_text.Font = TextFont;
177+
_text.TextAlignment = UITextAlignment.Center;
176178
this.Add(_text);
177179

178180
this.TouchUpInside += (sender, e) => Touch?.Invoke();

0 commit comments

Comments
 (0)