Make 'Set Attributes' window's width resizeable
Moderators: Hacker, petermad, Stefan2, white
Make 'Set Attributes' window's width resizeable
Currently it is very inconvenient to edit string fields in plugins section of attributes dialog, especially if field has units - field width too small to see string.
It would be great to have resizeable window so width of value fields may grow depending on window width.
It would be great to have resizeable window so width of value fields may grow depending on window width.
Would be great to see this quick-to-realize feature in new TC version. It is really quite easy to do, only set attribs dialog resizeable and set correct dock options for nested containers (and minimum size constraint). As I see, when I resize TScrollBox component, plugin value field is resized automatically so all is ok here, only need to make container resizeable.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately it's not so quick to realize - currently I'm so overloaded with bugfixing (even minor problems take forever) that I don't have the time to add any new features, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
May be later? In TC 8.51 or 8.52...
May be later? In TC 8.51 or 8.52...
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I also have to consider things like minimum size, right to left text etc.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Minimum size:
Here a simple sample of resizeable attributes dialog. It allows both resizing width and height (to se more plugin fields at once).
Are there any RTL problems that may arise when you just change component size?
Code: Select all
private
procedure WMGetMinMaxInfo(var Msg: TWMGetMinMaxInfo); message WM_GETMINMAXINFO;
procedure TForm1.WMGetMinMaxInfo(var Msg: TWMGetMinMaxInfo);
begin
Msg.MinMaxInfo^.PTMinTrackSize.X := ...;
Msg.MinMaxInfo^.PTMinTrackSize.Y := ...;
end;
Are there any RTL problems that may arise when you just change component size?
Even new select duplicates dialog is resizeable, it would be very useful to have resizeable attributes dialog too (PNG+CAB). 
Hm, the most difficult may be to move all '>>' and '+' buttons of plugin fields...

Hm, the most difficult may be to move all '>>' and '+' buttons of plugin fields...
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes it can, see e.g. the custom column confirmation dialog. But it's all done manually in the FormResize method.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com