put the types in a child
now the cancel button is neatly at the bottom :)
This commit is contained in:
parent
b90132d733
commit
d2ca97c57a
|
@ -24,6 +24,11 @@
|
|||
|
||||
void FurnaceGUI::drawExport() {
|
||||
exitDisabledTimer=1;
|
||||
|
||||
ImVec2 avail=ImGui::GetContentRegionAvail();
|
||||
avail.y-=ImGui::GetFrameHeightWithSpacing();
|
||||
|
||||
if (ImGui::BeginChild("sysPickerC",avail,false,ImGuiWindowFlags_NoScrollWithMouse|ImGuiWindowFlags_NoScrollbar)) {
|
||||
if (ImGui::BeginTabBar("ExportTypes")) {
|
||||
if (ImGui::BeginTabItem("Audio")) {
|
||||
static int audioExportType=0;
|
||||
|
@ -225,6 +230,8 @@ void FurnaceGUI::drawExport() {
|
|||
}
|
||||
ImGui::EndTabBar();
|
||||
}
|
||||
ImGui::EndChild();
|
||||
}
|
||||
ImGui::Separator();
|
||||
if (ImGui::Button("Cancel")) ImGui::CloseCurrentPopup();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue