Menu items: Text alignment

Discussion related to "Everything" 1.5 Alpha.
Post Reply
jorn
Posts: 5
Joined: Mon Mar 27, 2023 8:58 am

Menu items: Text alignment

Post by jorn »

I've been using this application for years without having the faintest idea how much flexibility it has. It's incredible how much thought has been given to the user interface and functionality. One feature I've used in other applications (such as Sublime Text), is the use of 'split alignment' or 'dual alignment' in context menu items. This feature allows for both left-aligned and right-aligned text within a single menu item, typically separated by a special character such as '\t'.

It is first and foremost the 'Bookmarks' menu which I'd like the possibility to have both left-aligned and right-aligned menu items for (e.g. left:"Description" | right:"Command"), example:

Code: Select all

(Colorize by Path)                     | << group-colors:path >>
(Date Range)                           | << dm:2023.04.25-2023.04.30 sort:dm-ascending >>
(Empty files)                          | << size:<24bytes >>
(Exact Name)                           | << exact:basename:hosts >>
(Exclude Empty Folders)                | << !child-count:0 >>
(Filename Characters)                  | << chars:20..30 >>
(Files Changed This Month)             | << dm:month: >>
(Files Changed This Week)              | << dm:week: >>
(Files Changed Today)                  | << dm:today: >>


This approach allows for more descriptive and structured menu items, as different types of information can be neatly aligned on different sides of the menu item. Would it be possible to consider implementing such a feature in a future update?

Thank you for all the work you've put into this fantastic tool.
void
Developer
Posts: 16767
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu items: Text alignment

Post by void »

Thank you for your feedback jorn,

I'll add an ini setting to allow TABS and report back here once it's ready for testing.

Thank you for the suggestion.
jorn
Posts: 5
Joined: Mon Mar 27, 2023 8:58 am

Re: Menu items: Text alignment

Post by jorn »

Fantastic, that's some speedy service! Really appreciate you taking this on board. Thanks a ton!
void
Developer
Posts: 16767
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu items: Text alignment

Post by void »

Everything 1.5.0.1351a adds a menu_escape_tab ini setting.

To allow tabs in menu names:
  • Copy and paste the following into your Everything search box:
    /menu_escape_tab=0
  • Press ENTER in your Everything search box.
  • If successful, menu_escape_tab=0 is shown in the status bar for a few seconds.
When enabled, Everything will not show the current keyboard shortcut (if any).

I forgot to add this setting to Tools -> Options -> Advanced.
-the next update alpha will include this setting under Advanced.
jorn
Posts: 5
Joined: Mon Mar 27, 2023 8:58 am

Re: Menu items: Text alignment

Post by jorn »

Awesome, works great, thank you!
void
Developer
Posts: 16767
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu items: Text alignment

Post by void »

Everything 1.5.0.1352a adds the menu_escape_tab to the advanced options page.

To allow tabs in menu names:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    menu
  • Select menu_escape_tab.
  • Set the value to: false
  • Click OK.
Post Reply