Is there an existing issue for this?
Current Behavior
Hi there,
I noticed that the alignment on the column titles for Memory, Processor, and GPU don't match the contents under them: titles are left-aligned, while the content under them is right-aligned.
Adding a screenshot below to illustrate it. Here, I extended the Memory column and hovered over the title in order to highlight the difference. I also clicked to sort by Memory so that the Down Arrowhead would display.
Expected Behavior
I would expect for the alignment of a column title to match how the content is aligned. In the App column, both its title and its contents are left-aligned, as expected. For the Memory, Processor, and GPU columns, my expectation is that the alignment for both titles and contents match. This should follow expected UX best-practices (e.g. those three columns could all be right-aligned, including the titles).
Additionally, this alignment should adjust depending on whether a column has been clicked for sorting due to the introduction of the Down Arrowhead. If the Down Arrowhead isn't being displayed, my expectation is that the title and its contents will be properly aligned without additional spaces (e.g. if right-alignment is chosen, then the right side of the title text will align with the right side of the column content). If the Down Arrowhead is displayed, my expectation is that the content will adjust (e.g. if right-alignment is chosen, then the right side of the now-displayed Down Arrowhead will align with the right side of the column content). But I will defer to UX best practices if my examples do not conform to them.
Steps to Reproduce
- Open Resources app
- Extend one of the columns (Memory, Processor, or GPU)
- See that the column title (e.g. Memory) is left-aligned, which differs than the content's alignment (right-aligned)
Tested on Ubuntu 24.04.4 LTS, running GNOME 46.
Debug Logs
Expand logs
$ flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources
DEBUG resources::utils > Running as Flatpak
INFO resources::application > Resources (net.nokyan.Resources)
INFO resources::application > Version: 1.10.2 ()
INFO resources::application > Datadir: `/app/share/resources`
DEBUG resources::application > Operating system: Ubuntu 24.04.4 LTS
DEBUG resources::application > Kernel version: 6.17.0-1017-oem
Environment
Anything Else?
No response
Is there an existing issue for this?
Current Behavior
Hi there,
I noticed that the alignment on the column titles for Memory, Processor, and GPU don't match the contents under them: titles are left-aligned, while the content under them is right-aligned.
Adding a screenshot below to illustrate it. Here, I extended the Memory column and hovered over the title in order to highlight the difference. I also clicked to sort by Memory so that the Down Arrowhead would display.
Expected Behavior
I would expect for the alignment of a column title to match how the content is aligned. In the App column, both its title and its contents are left-aligned, as expected. For the Memory, Processor, and GPU columns, my expectation is that the alignment for both titles and contents match. This should follow expected UX best-practices (e.g. those three columns could all be right-aligned, including the titles).
Additionally, this alignment should adjust depending on whether a column has been clicked for sorting due to the introduction of the Down Arrowhead. If the Down Arrowhead isn't being displayed, my expectation is that the title and its contents will be properly aligned without additional spaces (e.g. if right-alignment is chosen, then the right side of the title text will align with the right side of the column content). If the Down Arrowhead is displayed, my expectation is that the content will adjust (e.g. if right-alignment is chosen, then the right side of the now-displayed Down Arrowhead will align with the right side of the column content). But I will defer to UX best practices if my examples do not conform to them.
Steps to Reproduce
Tested on Ubuntu 24.04.4 LTS, running GNOME 46.
Debug Logs
Expand logs
Environment
Anything Else?
No response