From 0d6d999e62c543a4016485e57ebdf765e6dbcc5d Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 5 Aug 2024 18:08:54 +0200 Subject: [PATCH] remove 200% icon scaling (#7003) --- src/ui/core/zcl_abapgit_html.clas.abap | 12 +----------- .../sett/zcl_abapgit_gui_page_sett_pers.clas.abap | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/ui/core/zcl_abapgit_html.clas.abap b/src/ui/core/zcl_abapgit_html.clas.abap index 5bfd46294..3773ad805 100644 --- a/src/ui/core/zcl_abapgit_html.clas.abap +++ b/src/ui/core/zcl_abapgit_html.clas.abap @@ -138,8 +138,6 @@ CLASS ZCL_ABAPGIT_HTML IMPLEMENTATION. lv_name TYPE string, lv_color TYPE string, lv_class TYPE string, - lv_large_icon TYPE string, - lv_xpixel TYPE i, lv_onclick TYPE string. SPLIT iv_name AT '/' INTO lv_name lv_color. @@ -157,15 +155,7 @@ CLASS ZCL_ABAPGIT_HTML IMPLEMENTATION. lv_color = | { lv_color }|. ENDIF. - " Automatic icon scaling (could be overwritten by personal setting) - " see zcl_abapgit_gui_page->html_head - lv_xpixel = cl_gui_cfw=>compute_pixel_from_metric( x_or_y = 'X' - in = 1 ). - IF lv_xpixel >= 2. - lv_large_icon = ' large'. - ENDIF. - - rv_str = ||. ENDMETHOD. diff --git a/src/ui/pages/sett/zcl_abapgit_gui_page_sett_pers.clas.abap b/src/ui/pages/sett/zcl_abapgit_gui_page_sett_pers.clas.abap index ce66fbc2b..7e1209753 100644 --- a/src/ui/pages/sett/zcl_abapgit_gui_page_sett_pers.clas.abap +++ b/src/ui/pages/sett/zcl_abapgit_gui_page_sett_pers.clas.abap @@ -146,7 +146,7 @@ CLASS zcl_abapgit_gui_page_sett_pers IMPLEMENTATION. iv_label = 'Icon Scaling (HDPI)' iv_hint = 'Adjust size of icons for High DPI displays' )->option( - iv_label = 'Automatic' + iv_label = 'No scaling' iv_value = '' )->option( iv_label = 'Small'