-
Notifications
You must be signed in to change notification settings - Fork 915
origin/radio_button_vika #1412
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
base: main
Are you sure you want to change the base?
origin/radio_button_vika #1412
Conversation
Replaced old radio button images with updated versions, adding light and dark mode variants for clarity and consistency. Older assets were moved to a dedicated "old" folder for archival purposes. This improves structure and supports a more modern visual design.
Updated phrasing to improve clarity and consistency, emphasizing when to use checkboxes for two opposing choices. No functional or structural changes were made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review is complete, thanks for the updated topic!
@@ -89,19 +107,22 @@ Use the imperative form of verbs. | |||
|
|||
Do not use negation in labels as it complicates understanding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Possibly add examples for each rule here with correct incorrect usages to help people better understand the rules
- Add bullets to the bullet list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be a bullet list according to how we write articles now. See how the same section is structured in the Button article
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think if I add all the wrong things in one image? I think it’s quite possible.
topics/ui/controls/radio_button.md
Outdated
<td><img src="07_How_to_use.png" alt="An example of a label spanning two lines." width="378"/></td> | ||
<td><p>If a label is long, split it into two lines. Avoid labels that take more than two lines. See recommendations on writing concise labels below.</p></td> | ||
</tr> | ||
</table> | ||
|
||
To implement this, use HTML formatting: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make a collapsible "Implementation" chapter
|
||
Make labels short and intelligible — see [Writing short and clear text](writing_short.md). | ||
|
||
### Group label | ||
|
||
{width=267} | ||
{width=706} | ||
|
||
Always start a radio button group with a group label. It explains what the options are for. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would replace the content in Sizes and placement chapter into this one: https://plugins.jetbrains.com/docs/intellij/layout.html#checkboxes-and-radio-buttons as "Follow the layout of /checkboxes and radio-buttons/(anchor-link)
@@ -89,19 +107,22 @@ Use the imperative form of verbs. | |||
|
|||
Do not use negation in labels as it complicates understanding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be a bullet list according to how we write articles now. See how the same section is structured in the Button article
Refined documentation for radio button usage, including adjustments to labels, option grouping, and alternative UI recommendations. Updated associated images for consistency. Modified Kotlin and Gradle configurations in project settings.
Updated the recommended number of options for radio buttons and cleaned up examples in the dropdown section. Refactored implementation code examples using collapsible chapters for better readability in rendered documentation.
Removed redundant image table and streamlined text for clarity. Added updated images to improve guidance on correct and incorrect labeling practices. Ensured consistent formatting across the documentation.
Added clear formatting tags to emphasize correct and incorrect examples in the documentation. This enhances readability and helps users quickly differentiate between correct and incorrect usage.
Refined the "How to use" images to align with updated UI elements. Ensures consistency and clarity for both light and dark theme presentations.
No description provided.