Automeris naranja
26c22045dd
input-list-box: Remove "No input source selected" placeholder row
...
This placeholder row will never show because the list box will never be
empty due to the presence of the "Add Input Source" row, which also acts
as a placeholder. Also, the placeholder row broke the list box row
counting even more.
So, remove the "No input source selected" placeholder row, as it's
unnecessary.
2024-06-02 22:54:38 +00:00
Automeris naranja
d3765f0862
input-list-box: Port "Add Input Source..." to AdwButtonRow
...
Also, remove the ellipsis, since it isn't necessary when a
button row adds something to a list box.
https://developer.gnome.org/hig/patterns/containers/boxed-lists.html#adding-buttons
2024-05-28 20:00:10 +00:00
Automeris naranja
e33bbec7e9
input-list-box: Use a GtkListBox placeholder widget
...
Use a GtkListBox placeholder widget to show the
"No input source selected" message. Also, remove the
hexpand and vexpand properties from the list box, which
currently aren't doing anything.
2024-04-26 10:00:34 +00:00
Automeris naranja
8322ccf6c1
input-chooser: Rename "Add an Input Source" to "Add Input Source"
...
This will be consistent with the writing style used in Settings
(e.g. "Connect to Hidden Network" and "Add Printer" instead of
"Connect to a Hidden Network" and "Add a Printer" respectively).
2023-11-24 09:41:33 +00:00
Automeris naranja
20fe6f3895
input-list-box: Add ellipsis to add_input_row label
...
"Use an ellipsis (…) at the end of a label if further input or
confirmation is required from the user before the action can be carried out".
https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-27 12:55:49 +00:00
Maximiliano Sandoval R
2e12bf3bbe
input-list-box: Add a label to the add button
...
This way it looks a bit more full and helps with a11y. Values taken from
the app Secrets.
2023-10-20 08:58:35 +00:00
Maximiliano Sandoval R
a98748f535
input-list-box: Use ActionRow instead of label
...
This way it has the correct height.
2023-10-20 08:58:35 +00:00
Christopher Davis
cd4dd18f52
keyboard: Handle keynav-failed
on input source list
...
Fixes keynav with arrows between the input list
group and other groups.
2022-02-13 13:33:25 +00:00
Christopher Davis
1a3971fdbe
keyboard: Allow input list rows to manage their own size
...
Using GtkSizeGroup causes weird jumping,
and size groups generally should not be used for
boxed list rows.
2022-02-13 13:33:25 +00:00
Christopher Davis
981a8cea7b
panels: Use .boxed-list
instead of .content
...
The `.content` style class is deprecated in favor
of the `.boxed-list` style class, which is named
after the design pattern it's used for.
2021-12-16 12:52:44 -08:00
Georges Basile Stavracas Neto
d7e794e7ab
keyboard: Port to GTK4
...
Drop the wm-common insanity.
2021-12-14 22:34:21 -03:00
Mohammed Sadiq
1fa95b5fc5
keyboard: Use content style for listboxes
2021-05-19 03:25:47 +00:00
Ian Douglas Scott
8996ffac88
Move input sources from region panel to keyboard panel
2020-12-18 07:55:41 -08:00