We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf970d commit 72259b1Copy full SHA for 72259b1
1 file changed
usergui.js
@@ -41,6 +41,7 @@ class UserGui {
41
}
42
},
43
"gui" : {
44
+ "centeredItems" : false,
45
"internal" : {
46
"darkCloseButton" : false,
47
"style" : `
@@ -269,6 +270,14 @@ class UserGui {
269
270
<style>
271
${bootstrapStyling}
272
${this.settings.gui.external.style}
273
+ ${
274
+ this.settings.gui.centeredItems
275
+ ? `.form-group {
276
+ display: flex;
277
+ justify-content: center;
278
+ }`
279
+ : ""
280
+ }
281
</style>
282
</head>
283
<body>
@@ -287,6 +296,14 @@ class UserGui {
287
296
body {
288
297
width: ${this.settings.window.size.width}px
289
298
299
300
301
302
303
304
305
306
290
307
291
308
292
309
0 commit comments