mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
remove 200% icon scaling (#7003)
This commit is contained in:
parent
82bed9224c
commit
0d6d999e62
|
@ -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 = |<i class="icon{ lv_large_icon } icon-{ lv_name }{ lv_color }|.
|
||||
rv_str = |<i class="icon icon-{ lv_name }{ lv_color }|.
|
||||
rv_str = |{ rv_str }{ lv_class }"{ lv_onclick }{ lv_hint }></i>|.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user