diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-09-21 15:16:15 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-09-21 15:29:03 +0200 |
commit | ba8601f557bae4734ea8a0dcb5760ae4dbe04092 (patch) | |
tree | ec2634298f5c11272c849d9a4b4ca51d6e8d0d0f /editor/icons | |
parent | 2e065d8ad07bb20fede0d0c0b2d33d6628033024 (diff) |
Improve the network profiler UI
- Add icons to the up/down bandwidth LineEdits for better
visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
consistency with the actual bandwidth texts once the profiler
is started.
- Fix icon colors when switching from a dark theme to a light theme
and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
Diffstat (limited to 'editor/icons')
-rw-r--r-- | editor/icons/icon_arrow_down.svg | 1 | ||||
-rw-r--r-- | editor/icons/icon_arrow_up.svg | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editor/icons/icon_arrow_down.svg b/editor/icons/icon_arrow_down.svg new file mode 100644 index 0000000000..49a93e6e28 --- /dev/null +++ b/editor/icons/icon_arrow_down.svg @@ -0,0 +1 @@ +<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 3.002a1 1 0 0 0 -.69336.29102 1 1 0 0 0 0 1.4141l2.293 2.293h-4.5859c-.55228 0-1 .4477-1 1s.44772 1 1 1h4.5859l-2.293 2.293a1 1 0 0 0 0 1.4141 1 1 0 0 0 1.4141 0l4-4a1.0001 1.0001 0 0 0 0-1.4141l-4-4a1 1 0 0 0 -.7207-.29102z" fill="#e0e0e0" fill-opacity=".99608" transform="matrix(0 1 -1 0 16.0021 -.00004)"/></svg>
\ No newline at end of file diff --git a/editor/icons/icon_arrow_up.svg b/editor/icons/icon_arrow_up.svg new file mode 100644 index 0000000000..9bf19a6a12 --- /dev/null +++ b/editor/icons/icon_arrow_up.svg @@ -0,0 +1 @@ +<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8.00008 1049.4022a1 1 0 0 0 .69336-.291 1 1 0 0 0 0-1.4141l-2.293-2.293h4.5859c.55228 0 1-.4477 1-1s-.44772-1-1-1h-4.5859l2.293-2.293a1 1 0 0 0 0-1.4141 1 1 0 0 0 -1.4141 0l-4 4a1.0001 1.0001 0 0 0 0 1.4141l4 4a1 1 0 0 0 .7207.291z" fill="#e0e0e0" fill-opacity=".99608" transform="matrix(0 1 -1 0 1052.4021 -.00004)"/></svg>
\ No newline at end of file |