Introduce KeybindingHint (#24397)
- Implements scaling for `ui::Keybinding` and it's component parts - Adds the `ui::KeybindingHint` component for creating keybinding hints easily:  Release Notes: - N/A
This commit is contained in:
parent
9c132fece5
commit
00971fbe41
9 changed files with 390 additions and 16 deletions
|
@ -45,6 +45,13 @@ pub enum IconPosition {
|
|||
End,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
|
||||
pub enum KeybindingPosition {
|
||||
Start,
|
||||
#[default]
|
||||
End,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy, Default)]
|
||||
pub enum TintColor {
|
||||
#[default]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue