-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[PT Run] [Settings] Additional Plugin Options: Allow description for checkbox #15853
Comments
@crutkas cc: @niels9001 |
See screenshots in #16325. |
@htcfreek There's a CheckBoxWithDescription control in PowerToys.Settings.UI. That allows you to set the header and description. Does that help to solve this issue? |
@niels9001 I can update wox code. But I don't find the settings code that has to be changed. And I don't know what has to be changed in xaml item template to select the checkbox control dynamically. |
@niels901 |
Help me understand impact here. What does it look like currently if this wasn’t prioritized. |
@htcfreek why won't CheckBoxWithDescription control work? |
The box work. But I can't implement it. I don't know how to change code that it works. This file is easy to change: But this file is my problem that I don't know how to change atm (@niels9001): |
@htcfreek You'd need to replace the CheckBox with the CheckBoxWithDescription control, and then bind it's Content to DisplayLabel and Description to another string (which isn't defined yet in PluginAdditionalOption.cs. Maybe we should move to public string Title and public string Description there? |
What happened if description property of CheckBoxWithDescription is null? Not every setting needs a description. |
Might be more work as all existing setting might be broken then. We shouldn't do that. But for description we can omit the word |
Let's wait with this issue until #16325 is merged. |
@niels9001
|
@jaimecbernardo |
This is fixed with 0.57.0. Please head over to https://aka.ms/installpowertoys |
Description of the new feature / enhancement
For some additional plugin options it would be great to add a description subtitle. Then we can provide additional information to the user.
Scenario when this would be used?
An optional plugin setting that needs additional information that we need to provide to the user.
Supporting information
I think the class property can be null if now subtitle should be shown.
The text was updated successfully, but these errors were encountered: