Buttons in dialogs...

Something is missing in Far Manager? You have a great idea that should be heard? Write here.
Post Reply
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Buttons in dialogs...

Post by Mauro72 »

Hi,
This suggestions is about the width of the buttons. And is a good help for translators, like me ;)
Two pics:
Current dialog and buttons >
ImageBotones2.jpg
ImageBotones2.jpg (38.06 KiB) Viewed 22200 times
Suggested >
ImageBotones2_edit2.jpg
ImageBotones2_edit2.jpg (33.52 KiB) Viewed 22200 times

10 characters less (free space gained)
Why the [ ] characters. Is necessary?
This suggestions will help with the space in dialogs windows.
Thanks.
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Re: Buttons in dialogs...

Post by DrKnS »

On your picture buttons are gray, but by default button color is the same as background, so without brackets it could be difficult to distinguish button from some static text.
User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Re: Buttons in dialogs...

Post by HaRT »

Mauro72 wrote:Why the [ ] characters. Is necessary?
I suppose, the [] pair is a pure tradition, while the {} one is very useful as it indicates the current default button (being applied by [b]CtrlEnter[/b]).
Mauro72 wrote:This suggestions will help with the space in dialogs windows.
To me, that's rather a reason to make those dialogs wider. After all, they might get translated to German, Hungarian or Finnish one day. :blum:
Фар есть инструмент, а не нянька. © 2009 DrKnS
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Re: Buttons in dialogs...

Post by Shmuel »

DrKnS wrote:On your picture buttons are gray, but by default button color is the same as background, so without brackets it could be difficult to distinguish button from some static text.
Then let us change the default color (I like the suggestion).
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Re: Buttons in dialogs...

Post by 2useven10 »

The only problem here is fixed dialog width (72).
That can be solved quiet easy.
There is enough space even in case 80x25 screen.
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Re: Buttons in dialogs...

Post by 2useven10 »

BTW. Hungarian and German translations already exists and adopted to 72 char width.
Hungarian version even doesn't use abbreviation.
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Re: Buttons in dialogs...

Post by Mauro72 »

Shmuel wrote:
DrKnS wrote:On your picture buttons are gray, but by default button color is the same as background, so without brackets it could be difficult to distinguish button from some static text.
Then let us change the default color (I like the suggestion).
Will be great!. Simple!
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Buttons in dialogs...

Post by Mauro72 »

Updating this post...
And this suggestion about buttons dialogs: Removes the blank space after and behind the brackets.
Why the blank space?
Thanks!
ImageBotones2.jpg
ImageBotones2.jpg (17.03 KiB) Viewed 21019 times
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Buttons in dialogs...

Post by Shmuel »

It may be worth to place your suggestions as a wish on the bugtracker.

BTW: the dialog element DI_BUTTON has a flag DIF_NOBRACKETS, so every plugin, macro (that implement dialogs) or Far itself can leave or remove brackets, either individually or for all the buttons. That means it must not be difficult to implement the option to remove brackets.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Buttons in dialogs...

Post by Shmuel »

As a proof that it is not difficult, here is a macrofile to remove spaces (or brackets and spaces) from all buttons in all the dialogs.
Set RemoveLevel variable: 1:remove only spaces; 2:remove brackets and spaces.
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Buttons in dialogs...

Post by Mauro72 »

Thanks Shmuel!!!
And remove only brackets? Not spaces.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Buttons in dialogs...

Post by Shmuel »

Mauro72 wrote: And remove only brackets? Not spaces.
You can modify it freely: add/replace/remove. Don't you want to do it yourself?

Update:
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Buttons in dialogs...

Post by Mauro72 »

Thanks Shmuel, excellent add on.
No more buttons out of dialogs windows.
Again... THANKS!
Post Reply

Return to “Suggestions and Ideas”