1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:47:34 +00:00

Piano: Show a progress window when exporting WAV

This exposes that the export is pretty slow, but it's much nicer than
having the GUI lock up for 20s :^)
This commit is contained in:
kleines Filmröllchen 2022-11-13 18:37:46 +01:00 committed by Tim Flynn
parent 392dac0818
commit e127c4acdc
7 changed files with 132 additions and 3 deletions

View file

@ -0,0 +1,22 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@GUI::Label {
name: "export_message"
text_alignment: "Center"
// FIXME: Change to dynamic width once that works.
min_width: 300
preferred_height: "fit"
}
@GUI::HorizontalProgressbar {
name: "progress_bar"
min: 0
max: 100
preferred_width: "grow"
min_height: 40
}
}