|
@@ -63,20 +63,18 @@ namespace UICatalog {
|
|
var checkBox = new CheckBox (gitString) { X = 20, Y = Pos.Y (label), Width = Dim.Percent (50) };
|
|
var checkBox = new CheckBox (gitString) { X = 20, Y = Pos.Y (label), Width = Dim.Percent (50) };
|
|
Win.Add (checkBox);
|
|
Win.Add (checkBox);
|
|
|
|
|
|
- // BUGBUG: Combobox does not deal with unicode properly.
|
|
|
|
-#if false
|
|
|
|
label = new Label ("ComboBox:") { X = Pos.X (label), Y = Pos.Bottom (label) + 1 };
|
|
label = new Label ("ComboBox:") { X = Pos.X (label), Y = Pos.Bottom (label) + 1 };
|
|
Win.Add (label);
|
|
Win.Add (label);
|
|
var comboBox = new ComboBox () {
|
|
var comboBox = new ComboBox () {
|
|
X = 20,
|
|
X = 20,
|
|
Y = Pos.Y (label),
|
|
Y = Pos.Y (label),
|
|
- Width = Dim.Percent (50),
|
|
|
|
|
|
+ Width = Dim.Percent (50)
|
|
};
|
|
};
|
|
comboBox.SetSource (new List<string> () { gitString, "Со_хранить" });
|
|
comboBox.SetSource (new List<string> () { gitString, "Со_хранить" });
|
|
|
|
|
|
Win.Add (comboBox);
|
|
Win.Add (comboBox);
|
|
comboBox.Text = gitString;
|
|
comboBox.Text = gitString;
|
|
-#endif
|
|
|
|
|
|
+
|
|
label = new Label ("HexView:") { X = Pos.X (label), Y = Pos.Bottom (label) + 2 };
|
|
label = new Label ("HexView:") { X = Pos.X (label), Y = Pos.Bottom (label) + 2 };
|
|
Win.Add (label);
|
|
Win.Add (label);
|
|
var hexView = new HexView (new System.IO.MemoryStream (Encoding.ASCII.GetBytes (gitString + " Со_хранить"))) {
|
|
var hexView = new HexView (new System.IO.MemoryStream (Encoding.ASCII.GetBytes (gitString + " Со_хранить"))) {
|