Ignore:
Timestamp:
2/8/2010 7:20:53 AM (2 years ago)
Author:
lowjoel
Message:

Also specify MessageBoxOptions?.RightAlign? if the dialog which owns the message box is RTL-reading. addresses #275: Code Review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser/UpdateForm.cs

    r1759 r1768  
    131131                    MessageBox.Show(this, e.Error.Message, S._("Eraser"), MessageBoxButtons.OK, 
    132132                        MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 
    133                         S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 
     133                        S.IsRightToLeft(this) ? 
     134                            MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 
    134135 
    135136                Close(); 
     
    199200                    "Eraser."), S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Information, 
    200201                    MessageBoxDefaultButton.Button1, 
    201                     S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 
     202                    S.IsRightToLeft(this) ? 
     203                        MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 
    202204                Close(); 
    203205            } 
     
    353355                        MessageBoxButtons.OK, MessageBoxIcon.Error, 
    354356                        MessageBoxDefaultButton.Button1, 
    355                         S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 
     357                        S.IsRightToLeft(this) ? 
     358                            MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 
    356359 
    357360                Close(); 
Note: See TracChangeset for help on using the changeset viewer.