Skip to content

Commit 0bbbd6b

Browse files
authored
feat(1173): stock UI configuration for YesNoCancel (#56)
1 parent f95c97a commit 0bbbd6b

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

resources/gui/layouts/shared/InputBox.json

+40-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,45 @@
305305
}
306306
},
307307
"YesButton": {
308-
"Bounds": "90,100,96,35",
308+
"Bounds": "65,100,96,35",
309+
"Padding": "3,3,3,3",
310+
"AlignmentEdgeDistances": "50,0,0,0",
311+
"AlignmentTransform": "0,0",
312+
"Margin": "0,0,0,0",
313+
"RenderColor": "255,255,255,255",
314+
"Alignments": "",
315+
"DrawBackground": true,
316+
"MinimumSize": "1,1",
317+
"MaximumSize": "4096,4096",
318+
"Disabled": false,
319+
"Hidden": false,
320+
"RestrictToParent": false,
321+
"MouseInputEnabled": true,
322+
"HideToolTip": false,
323+
"ToolTipBackground": null,
324+
"ToolTipFont": null,
325+
"ToolTipTextColor": "",
326+
"TextColor": "255,225,225,225",
327+
"HoveredTextColor": "255,225,225,225",
328+
"ClickedTextColor": "255,225,225,225",
329+
"DisabledTextColor": "255,225,225,225",
330+
"TextAlign": "Center",
331+
"TextPadding": "3,3,3,3",
332+
"AutoSizeToContents": false,
333+
"Font": "sourcesansproblack,12",
334+
"TextScale": 1.0,
335+
"NormalImage": "smallbutton.png",
336+
"HoveredImage": "smallbutton_hovered.png",
337+
"ClickedImage": "smallbutton_clicked.png",
338+
"DisabledImage": "smallbutton_disabled.png",
339+
"CenterImage": false,
340+
"HoverSound": "octave-tap-resonant.wav",
341+
"MouseUpSound": "",
342+
"MouseDownSound": "octave-tap-warm.wav",
343+
"ClickSound": ""
344+
},
345+
"CancelButton": {
346+
"Bounds": "291,100,96,35",
309347
"Padding": "3,3,3,3",
310348
"AlignmentEdgeDistances": "50,0,0,0",
311349
"AlignmentTransform": "0,0",
@@ -343,7 +381,7 @@
343381
"ClickSound": ""
344382
},
345383
"NoButton": {
346-
"Bounds": "266,100,96,35",
384+
"Bounds": "178,100,96,35",
347385
"Padding": "3,3,3,3",
348386
"AlignmentEdgeDistances": "50,0,0,0",
349387
"AlignmentTransform": "0,0",

0 commit comments

Comments
 (0)