Issue 22599 - [RFE] auto-sizing for text-base controls
Summary: [RFE] auto-sizing for text-base controls
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: ms_interoperability
Depends on:
Reported: 2003-11-18 14:51 UTC by avtech
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description avtech 2003-11-18 14:51:01 UTC
It would be helpful if combo boxes and other text-based controls could be set to
automatically expand or shrink vertically to accomodate the text retrieved from
a database. The text length is not always known in advance, and it would save
space if the control would expand/shrink to the minimum required size.
Comment 1 Frank Schönheit 2003-11-19 07:55:39 UTC
I could have sworn that this is already part of one of my PCD (product
concept document) issues for OOo 2.0, but this seems not to be the case.
I think were it best fits in is issue 20325, so I add a dependency.

Additionally grabbing, confirming, targeting.
Comment 2 Frank Schönheit 2003-11-19 08:43:30 UTC
now really adding dependency ....
Comment 3 Frank Schönheit 2003-11-19 08:43:48 UTC
Comment 4 hans_werner67 2004-02-02 12:26:33 UTC
change subcomponent to 'none'
Comment 5 Frank Schönheit 2004-02-05 11:27:24 UTC
adding ms_interop keyword
Comment 6 thorsten.ziehm 2004-07-13 12:12:26 UTC
This task is retarget to OOo2.0. The product team has decided, that this is a
must feature for OOo 2.0. 
Comment 7 ooo 2004-07-13 14:59:17 UTC
set to wrong target by mistake, reset to OfficeLater
Comment 8 Frank Schönheit 2004-07-22 10:45:43 UTC
assigning to user experience team for consideration, according to the guidelines
for handling feature/enhancement requests
Comment 9 drewjensen.inbox 2005-10-06 23:29:08 UTC
I would like to put in a thought or two on this.

For me it is not very important to have the control re-size itself based on the
text that is fetched form the database. Ratther -

What I would like to see is the ability to have the control attach itself to a
region. For example, it would be nice to have the control attach to a side of
the form (Top, left, right, bottom). Say I put a text control on a form and
attached it to the frame bottom. The control should extend from the left edge of
the forms frame to the right edge. I would be able to drag only the top of the
control, opening it say to any height I like. If the user exapands the fram then
to maximum, the control should still be at the bottom of the frame and retaine
its height setting.

Now, expanding on this, it should be possible to stack controls. So let's say
that we drop the first control on the form, set it to attach to the frame
bottom. Then size it appropiratly. Now drop a second control on the form and set
it to attach to frame bottom. This shold place the second control directly above
the first, with is bottom edge 'glued' to the top edge of the first control. If
I grabbed the top edge of the first control and expanded it upwards the second
control should move along with it, retaining its relative size.

In some other form desingers they also have the concept of a panel, the panal
having the ability to attach itself to an edge. Controls placed on the panel
stay on the panel. I don't know whether this is possible with text boxes now. An
additional feature of panels is often the ability to propogate settings. For
example there may be an enable method exposed on the panle, setting the value
for the method on the panel propogates this to any conrtols on the panel that
share the same method.

If so, then if a text control could be extended again to support filling the
frame, or filling a panel one could build forms of this type.

Place a panel on the form. Attach it to the top frame. Place some controls on it.

Place a second panel on the form, attach it to the bottom edge of the frame.
Size and place some controls on it.

Now place an edit control on the form, not inside any panel. Set it to fill the
form. Then control should go from the left edge of the frame to the right edge
of the frame, from the Bottom edge of the top panel to the top edge of the
bottom panel.

Comment 10 bettina.haberer 2010-05-21 14:55:46 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".