Fixing "LabelsAsButtons.cs" layout as "Buttons.cs" scenario.

This commit is contained in:
BDisp
2020-11-13 17:45:22 +00:00
parent 4519c657ba
commit d71ca21897

View File

@@ -235,7 +235,7 @@ namespace UICatalog {
var moveHotKeyBtn = new Label (mhkb) {
X = 2,
Y = Pos.Bottom (radioGroup) + 1,
Width = mhkb.Length + 10,
Width = Dim.Width (computedFrame) - 2,
ColorScheme = Colors.TopLevel,
HotKeySpecifier = (System.Rune)'_',
CanFocus = true,
@@ -249,7 +249,7 @@ namespace UICatalog {
var moveUnicodeHotKeyBtn = new Label (muhkb) {
X = Pos.Left (absoluteFrame) + 1,
Y = Pos.Bottom (radioGroup) + 1,
Width = muhkb.Length + 30,
Width = Dim.Width (absoluteFrame) - 2,
ColorScheme = Colors.TopLevel,
HotKeySpecifier = (System.Rune)'_',
CanFocus = true,
@@ -295,6 +295,8 @@ namespace UICatalog {
break;
}
};
Top.Ready += () => radioGroup.Refresh ();
}
}
}