Can the button be placed directly on the far right of the toolbar?
Moderators: white, Hacker, petermad, Stefan2
Can the button be placed directly on the far right of the toolbar?
Hi,everyone
I want place a button to the rightmost of TC's toolbar,Separated with a large blank,like the "close" button on the windows titlebar.
Is there anyone has some methods or tools?
Plz tell me,thx!
I want place a button to the rightmost of TC's toolbar,Separated with a large blank,like the "close" button on the windows titlebar.
Is there anyone has some methods or tools?
Plz tell me,thx!
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Re: Can the button be placed directly on the far right of the toolbar?
No, there is no such method for the button bar. As you know, in menu (*.mnu) file
But you can manually insert as much empty buttons as you wantTC help wrote:With the command HELP_BREAK you insert a break in the main menu. After that break, all menus will be right adjusted
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
Re: Can the button be placed directly on the far right of the toolbar?
Vochomurka wrote: ↑2018-07-29, 17:04 UTC No, there is no such method for the button bar. As you know, in menu (*.mnu) fileBut you can manually insert as much empty buttons as you wantTC help wrote:With the command HELP_BREAK you insert a break in the main menu. After that break, all menus will be right adjusted
Yes,this is a method……I just try to find a better way.
Re: Can the button be placed directly on the far right of the toolbar?
Sorry, currently there is no way to align some buttons to the right side, you can only insert separators (-1 as a command) between buttons or line breaks (-2 as a command).
Re: Can the button be placed directly on the far right of the toolbar?
I used a stupid way to solve it:
Make a ico file with 48x48 and Completely transparent to filling toolbar
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Re: Can the button be placed directly on the far right of the toolbar?
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
Re: Can the button be placed directly on the far right of the toolbar?
To create an empty button use
Command: NoCommand
Icon: NoIcon
Next you can copy&paste that Icon several times (in your case to the left of the last visible Icon, so that Icon went more and more to the right)
Command: NoCommand
Icon: NoIcon
Next you can copy&paste that Icon several times (in your case to the left of the last visible Icon, so that Icon went more and more to the right)
Re: Can the button be placed directly on the far right of the toolbar?
To my knowledge no dedicated separator allows to have a right alignment nor dynamic spacing. For bar with many buttons, the bar can be dispatched in multiple line. Adding space can be a good idea but if you resize the TC window none of the inserted space will expand nor reduce to gives you the wanted behavior.
On the menu, you can use help break to have right aligned for subsequent menu entries.
On the menu, you can use help break to have right aligned for subsequent menu entries.