개정판 0d32593b
issue #000: DialogParameters Content 수정
Change-Id: Iea69711861af9d77f36761b25aa75b9bee89a51b
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
186 | 186 |
|
187 | 187 |
public void DialogMessage_Alert(string content, string header) |
188 | 188 |
{ |
189 |
var box = new TextBlock(); |
|
190 |
box.MinWidth = 400; |
|
191 |
box.FontSize = 11; |
|
192 |
//box.FontSize = 12; |
|
193 |
box.Text = content; |
|
194 |
box.TextWrapping = System.Windows.TextWrapping.Wrap; |
|
195 |
|
|
196 | 189 |
DialogParameters parameters = new DialogParameters() |
197 | 190 |
{ |
198 | 191 |
Owner = Application.Current.MainWindow, |
199 |
Content = box, |
|
192 |
Content = new TextBlock() |
|
193 |
{ |
|
194 |
MinWidth = 400, |
|
195 |
FontSize = 11, |
|
196 |
Text = content, |
|
197 |
TextWrapping = System.Windows.TextWrapping.Wrap |
|
198 |
}, |
|
200 | 199 |
Header = header, |
201 | 200 |
Theme = new VisualStudio2013Theme(), |
202 | 201 |
ModalBackground = new SolidColorBrush { Color = Colors.Black, Opacity = 0.6 }, |
내보내기 Unified diff