Windows 11-like Appearance

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Windows 11-like Appearance

Post by void »

Everything 1.5.0.1328a improves result list customization.



To make Everything appear more like Windows Explorer in Windows 11:
  • Copy and paste the following into your Everything search box:

    Code: Select all

    /listview_item_spacing=8;listview_item_margin_top=4;listview_margin_left=16;selected_border=1;dark_accent=1;dark_accent_color=#808080
  • Press ENTER in your Everything search box.
  • Close the Everything search window.
  • Reopen Everything.
listview_item_high
listview_item_spacing
listview_item_margin_top
listview_margin_left
selected_border
dark_accent
dark_accent_color
listview_text_padding_top
listview_text_padding_bottom
listview_icon_padding_top
listview_icon_padding_bottom



To restore defaults:
  • Copy and paste the following into your Everything search box:

    Code: Select all

    /listview_item_spacing=;listview_item_margin_top=;listview_margin_left=;selected_border=;dark_accent=;dark_accent_color=
  • Press ENTER in your Everything search box.
  • Close the Everything search window.
  • Reopen Everything.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Windows 11-like Appearance

Post by raccoon »

For contrast and future historians, this is what Everything looks like in Windows 7:

Everything-Win-7-Appearance.png
Everything-Win-7-Appearance.png (28.62 KiB) Viewed 15324 times

For customization, I have cramped as many results into as little vertical space as possible. (25 instead of void's 15 results)

/listview_item_high=15

(@void: is there a way to make this setting more compatible with Zoom In/Out? It currently experiences unpretty line cropping with insufficient growth.)

As well I have tinkered with the statusbar text to my own liking.
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Windows 11-like Appearance

Post by void »

How Everything calculates the item height:

If listview_item_high is > 0, use listview_item_high.

Otherwise, set the item height to either:
Icon height + 1 logical pixel.
-or-
Font height + 4 logical pixels.
which ever is larger.



Setting listview_item_high can give undesired results as it ignores zooming.
I have put on my TODO list to make listview_item_high scale with the current zoom level.
I have put on my TODO list to customize the icon padding and font padding.
Thank you for the suggestions.
Michi
Posts: 69
Joined: Thu Jul 28, 2022 9:23 am

Re: Windows 11-like Appearance

Post by Michi »

To get the same look-a-like as given in post #1, there are quite a few steps necessary to modify the ini-file.
Of course one could open the file itself and add those lines manually.

Any chance, maybe already available, to add some kind of "macro" functions where the user could edit many INI lines like those above, all at once, to "execute" with a single mouse-click.

The further advantage of such a function would be, one could add another "macro" to revert back such changes with an further click and all is good again.

This is not limited to such UI modifications of course but can be useful for any other INI file manipulations.

I could image that such an enhancement to ET could look similar like the bookmarks functions, we currently have in ET.

It would already be very helpful, if I could add all those lines all at once in a single line into the search bar and press ENTER, like:

Code: Select all

/listview_item_spacing=8; /listview_item_margin_top=4; /listview_margin_left=16; /selected_border=1; /dark_accent=1; /dark_accent_color=#808080
But it's surely not that convenient as a dedicated enhancement like I mentioned above. With such an enh. I never have to search in forums again to remember where the origin for ET modifications are.
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Windows 11-like Appearance

Post by void »

A theme organizer is on my TODO list.
(import / export themes)


The next alpha update will support:
/listview_item_spacing=8;listview_item_margin_top=4;listview_margin_left=16;selected_border=1;dark_accent=1;dark_accent_color=#808080

Thank you for the suggestions.
Michi
Posts: 69
Joined: Thu Jul 28, 2022 9:23 am

Re: Windows 11-like Appearance

Post by Michi »

Thank you very much!
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Windows 11-like Appearance

Post by void »

Everything 1.5.0.1330a improves changing ini settings from the search box:
  • New syntax to set multiple values: /settingA=1;settingB=2
  • Added Everything Preprocessor support.
  • Expression evaluation ( /setting=1+1 is the same as /setting=2 )
  • Support to customize all colors from the search box.
These changes only apply to "number" ini settings.
Setting multiple "string" ini settings is not supported.



Example to set multiple settings:

/window_x=[rand:%1000];window_y=[rand:%1000]
/dark_highlighted_foreground_color=#ff0000;dark_highlighted_background_color=#00ff00


Expression example:
/offline_alpha=offline_alpha==255?160:255
This toggles offline_alpha between 255 and 160
You can reference other ini settings by name.



Everything 1.5.0.1330a improves zoom support.
Zooming will now scale all elements. (instead of just text)

zoom
zoom_steps
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Windows 11-like Appearance

Post by raccoon »

/me pastes in /window_x=[rand:%1000];window_y=[rand:%1000] and holds down the Enter key for too much amusement.

@void: So with the new padding settings, what should I use instead of /listview_item_high=15 to achieve the same visual affect but with Zoom support? How would you feel about a UI option to make scrunching lines (as tightly as mine) easily accessible to everyone?
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Windows 11-like Appearance

Post by void »

I removed the current documentation about padding.

There's a bug with the current padding settings.
The padding should have defined the size in logical pixels, instead they are currently using device pixels.
I will make another post here once it's fixed.



They should still work for you if you set them to zero (zero logical pixels == zero device pixels)

Please try:

Code: Select all

/listview_item_high=0;listview_text_padding_top=0;listview_text_padding_bottom=0;listview_icon_padding_top=0;listview_icon_padding_bottom=0
To restore the defaults:

Code: Select all

/listview_item_high=;listview_text_padding_top=;listview_text_padding_bottom=;listview_icon_padding_top=;listview_icon_padding_bottom=
Close the search window and reopen a new search for changes to take effect.



Everything will use the text font height or icon height to determine the listview item height. (which ever is larger)

Adjust the font height with:
/result_list_font_size=9
(where 9 is the font size in logical pixels)

Adjust the icon height with:
/icon_size=16
(where 16 is the icon size in logical pixels)
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Windows 11-like Appearance

Post by raccoon »

Nice, thank you. :)
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Windows 11-like Appearance

Post by void »

Just making a note here, Everything 1.5.0.1331a now uses formulas instead of the preprocessor for setting ini-settings with search commands.

For example:

/window_x=rand()%1000;window_y=rand()%1000

The main reason for this change is only integer ini settings are supported and formulas are much easier to work with than the preprocessor.
The preprocessor is designed for strings whereas formulas are designed for numbers and strings.



Everything 1.5.0.1331a adds the following padding settings:

For example, to set the listview text padding top:
  • Copy and paste the following into your Everything search box:
    /listview_text_padding_top=2
  • Press ENTER in your Everything search box.
  • If successful, listview_text_padding_top=2 is shown in the status bar for a few seconds.
    where 2 is the padding in logical pixels.
The defaults are:
/listview_text_padding_top=2
/listview_text_padding_bottom=2
/listview_icon_padding_top=1
/listview_icon_padding_bottom=1

The result list item height is calculated from the text height + padding or the icon height + padding.
Which ever is largest.
Post Reply