Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Dialog types, dialog titles #4183

Closed
Levminer opened this issue May 21, 2022 · 2 comments
Closed

[feat] Dialog types, dialog titles #4183

Levminer opened this issue May 21, 2022 · 2 comments

Comments

@Levminer
Copy link

Describe the problem

Electron has this option.

And there is currently no way to change the icon of the dialog.

Also currently the dialog title is very inconsistant (ask and confirm has title option, but message don't.)

Describe the solution you'd like

This would be an optional property, example:

import { dialog } from "@tauri-apps/api"

dialog.message("message", {type: "info", title: "test"})

Types should be: "info", "error", "warning"

Alternatives considered

I'm currently using a cargo package native-dialog

Additional context

No response

@Levminer Levminer changed the title [feat] Dialog types, button titles [feat] Dialog types, dialog titles May 21, 2022
@Levminer
Copy link
Author

Wow, that was fast. Thank you!

@amrbashir
Copy link
Member

Lucas is The Flash disguised in a Super Man suit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants