Implement Setting Dialog - Work in Progress
This commit is contained in:
20
widget/settings/shared/Label.ts
Normal file
20
widget/settings/shared/Label.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export const Label = (name, sub = "") => {
|
||||
return Widget.Box({
|
||||
vertical: true,
|
||||
hpack: "start",
|
||||
children: [
|
||||
Widget.Label({
|
||||
hpack: "start",
|
||||
vpack: "center",
|
||||
class_name: "options-label",
|
||||
label: name
|
||||
}),
|
||||
Widget.Label({
|
||||
hpack: "start",
|
||||
vpack: "center",
|
||||
class_name: "options-sublabel",
|
||||
label: sub
|
||||
}),
|
||||
]
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user