mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
SystemMonitor: Move memory graph caption from KB to KiB
This changes the graph caption from KB to KiB, but it keeps just "K" instead of "KiB" for all the numbers in columns in the table, since "K" is fairly well-established as abbreviation of "KiB" (the SI prefix is lower-case), and space is at a premium here.
This commit is contained in:
parent
43a0ffe54d
commit
af96cfe9ef
Notes:
sideshowbarker
2024-07-19 03:34:26 +09:00
Author: https://github.com/nico
Commit: af96cfe9ef
Pull-request: https://github.com/SerenityOS/serenity/pull/3164
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ NonnullRefPtr<GUI::Widget> build_graphs_tab()
|
|||
memory_graph.set_text_color(Color::Cyan);
|
||||
memory_graph.set_graph_color(Color::from_rgb(0x00bbbb));
|
||||
memory_graph.text_formatter = [](int value, int max) {
|
||||
return String::format("%d / %d KB", value, max);
|
||||
return String::format("%d / %d KiB", value, max);
|
||||
};
|
||||
|
||||
self.add<MemoryStatsWidget>(memory_graph);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue