UX-2323 Update existing UI Guidelines: Button, update tables and images

This commit is contained in:
marianna.kononenko 2024-11-12 19:02:35 +01:00
parent 2e618bea0d
commit 11d406903f
2 changed files with 13 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -19,9 +19,9 @@
<img src="when_to_use_button.png" alt="When to use a button" width="706"/> <img src="when_to_use_button.png" alt="When to use a button" width="706"/>
</chapter> </chapter>
<chapter title="When not to use" id="when-not-to-use"> <chapter title="When not to use" id="when-not-to-use">
<table style="none"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="50%"><img src="link_instead_of_button.png" alt="Using links instead of buttons" width="378"/></td> <td><img src="link_instead_of_button.png" alt="Using links instead of buttons" width="378"/></td>
<td><p>Use a link instead if:</p> <td><p>Use a link instead if:</p>
<list> <list>
<li><p>The action takes the user to another page of the same dialog or an external source like <li><p>The action takes the user to another page of the same dialog or an external source like
@ -36,12 +36,12 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="50%"><img src="toolbar_button.png" alt="Using toolbar buttons instead of buttons" width="378"/></td> <td><img src="toolbar_button.png" alt="Using toolbar buttons instead of buttons" width="378"/></td>
<td><p>Use a <a href="toolbar.md">toolbar button</a> instead if there are several buttons related to a table or list.</p> <td><p>Use a <a href="toolbar.md">toolbar button</a> instead if there are several buttons related to a table or list.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="50%"><img src="split_button.png" alt="Using split buttons instead of buttons" width="378"/></td> <td><img src="button_split_button.png" alt="Using split buttons instead of buttons" width="378"/></td>
<td><p>Use a <a href="split_button.md">split button</a> instead if:</p> <td><p>Use a <a href="split_button.md">split button</a> instead if:</p>
<list> <list>
<li>There are more than two related actions, but the space is limited and/or packed.</li> <li>There are more than two related actions, but the space is limited and/or packed.</li>
@ -52,7 +52,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="50%"> <td>
<img src="built-in_button.png" alt="Using built-in buttons instead of buttons" width="378"/> <img src="built-in_button.png" alt="Using built-in buttons instead of buttons" width="378"/>
</td> </td>
<td><p>Use a <a href="built_in_button.md">built-in button</a> instead if it's related to an input field, combo box, <td><p>Use a <a href="built_in_button.md">built-in button</a> instead if it's related to an input field, combo box,
@ -78,7 +78,7 @@
<p>The button should answer the question in the title, so the user can skip the description. Prefer specific <p>The button should answer the question in the title, so the user can skip the description. Prefer specific
labels over labels over
generic ones:</p> generic ones:</p>
<table style="none"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="50%"> <td width="50%">
<p> <p>
@ -105,7 +105,7 @@
use the word use the word
<control>Now</control> in labels because buttons always trigger an immediate action: <control>Now</control> in labels because buttons always trigger an immediate action:
</p> </p>
<table style="none"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="50%"> <td width="50%">
<p> <p>
@ -130,7 +130,7 @@
<p>The label should be short, not more than five words. If its not obvious what element the button is related <p>The label should be short, not more than five words. If its not obvious what element the button is related
to, add more to, add more
words to make it clear. Prefer clear labels to short ones:</p> words to make it clear. Prefer clear labels to short ones:</p>
<table style="none"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="50%"> <td width="50%">
<p> <p>
@ -202,8 +202,6 @@
</li> </li>
</list> </list>
</chapter> </chapter>
<chapter title="Focused" id="focused"> <chapter title="Focused" id="focused">
<img src="focused_button.png" alt="'Cancel' button in a focused state" width="706"/> <img src="focused_button.png" alt="'Cancel' button in a focused state" width="706"/>
<p>All buttons can get focus, even on macOS if the <p>All buttons can get focus, even on macOS if the
@ -313,7 +311,7 @@
<p>On hovering over a button, show a tooltip with the shortcut and the action name if it can be clarified. <p>On hovering over a button, show a tooltip with the shortcut and the action name if it can be clarified.
For more details, For more details,
see <a href="context_help.md">Context help</a>.</p> see <a href="context_help.md">Context help</a>.</p>
<table style="none" column-width="fixed"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="378"> <td width="378">
<img src="hovered_button.png" alt="Hovered buttons" width="378"/> <img src="hovered_button.png" alt="Hovered buttons" width="378"/>
@ -332,7 +330,7 @@
</chapter> </chapter>
<chapter title="Standard buttons" id="standard-buttons"> <chapter title="Standard buttons" id="standard-buttons">
<chapter title="Apply" id="apply"> <chapter title="Apply" id="apply">
<table style="none" column-width="fixed"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="378"> <td width="378">
<img src="apply.png" alt="Hovered buttons" width="378"/> <img src="apply.png" alt="Hovered buttons" width="378"/>
@ -350,7 +348,7 @@
</table> </table>
</chapter> </chapter>
<chapter title="Cancel" id="cancel"> <chapter title="Cancel" id="cancel">
<table style="none" column-width="fixed"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="378"> <td width="378">
<img src="cancel.png" alt="Hovered buttons" width="378"/> <img src="cancel.png" alt="Hovered buttons" width="378"/>
@ -386,7 +384,7 @@
</chapter> </chapter>
<chapter title="Close"> <chapter title="Close">
<table style="none" column-width="fixed"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="378"> <td width="378">
<img src="close.png" alt="Hovered buttons" width="378"/> <img src="close.png" alt="Hovered buttons" width="378"/>
@ -413,7 +411,7 @@
</table> </table>
</chapter> </chapter>
<chapter title="Help" id="help"> <chapter title="Help" id="help">
<table style="none" column-width="fixed"> <table style="none" border="false" column-width="fixed">
<tr> <tr>
<td width="378"> <td width="378">
<img src="help.png" alt="Hovered buttons" width="378"/> <img src="help.png" alt="Hovered buttons" width="378"/>