Page 1 of 1
Make 'Set Attributes' window's width resizeable
Posted: 2011-06-09, 14:41 UTC
by MVV
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.
Posted: 2011-06-09, 18:10 UTC
by Sombra
Posted: 2011-06-09, 18:24 UTC
by MVV
Wow, thanks, there are already some old posts on same topic.
But it is sad that nothing has changed last three years...
Posted: 2011-09-20, 20:31 UTC
by Peter
I want to support this thread with its nearly five years old sub-sub-threads.
Today I tried to use the plugin "Jpeg comment" with its "Exif_Thumbnail_JPEGInterchangeFormat"-field - it's not funny to work with that long strings in the small dialogue
Peter
Posted: 2013-02-01, 09:19 UTC
by MVV
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.
Posted: 2013-09-06, 06:15 UTC
by MVV
ghisler,
Any chance to see this in 8.50?

Posted: 2013-09-06, 20:33 UTC
by ghisler(Author)
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.
Posted: 2013-09-06, 21:16 UTC
by MaxX
2ghisler(Author)
May be later? In TC 8.51 or 8.52...
Posted: 2013-09-07, 10:40 UTC
by MVV
ghisler,
It requires only little form edition, so it shouldn't take much time. Mayb not now but a bit later, but it would be much more comfortable to have larger plugin fields.
Posted: 2013-09-08, 14:54 UTC
by ghisler(Author)
I also have to consider things like minimum size, right to left text etc.
Posted: 2013-09-08, 15:09 UTC
by MVV
Minimum 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;
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?
Posted: 2013-09-27, 06:45 UTC
by MVV
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...
Posted: 2013-10-20, 11:35 UTC
by MVV
I noticed that TC is already able to stretch edits in scroll box when scroll box is resized, so we already have all we need to make entire dialog resizeable. We only need to set dialog style and to to resize scroll box on window resize!
Posted: 2013-10-21, 13:18 UTC
by ghisler(Author)
Yes it can, see e.g. the custom column confirmation dialog. But it's all done manually in the FormResize method.
Posted: 2013-10-21, 14:28 UTC
by MVV
I mean that scroll box in attributes dialog already supports nice resizing (and value field is increased when it is increased) so the only missing thing is dialog resize code that will resize scroll box.