Bug #33099 Can't change width of table boxes
Submitted: 9 Dec 2007 22:03 Modified: 7 Jan 2008 20:07
Reporter: Tony Freixas Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.10 Beta OS:Windows (XP)
Assigned to: CPU Architecture:Any

[9 Dec 2007 22:03] Tony Freixas
Description:
In the graphic display of my schema design, I can't change the width of the table displayed.

How to repeat:
View any database design.
Click once on any table. A set of "handles" should appear.
Select any handle by pressing the left mouse button and holding it down. The handle will change from gray to black.
Keeping the mouse button down, try to drag the handle so as to resize the table box--nothing happens.

Also:
Click on a table.
In the Properties pane, look for a property named "width".
Change the value of this property and press Return.
The property restores itself to its original value.

Suggested fix:
Ideally, you would allow users to change the width using either technique.
More ideally, there would be an auto-width option that would make each table wide enough to display all field information without truncation.
If there is a reason to not allow this, the handles should not be drawn and the property field should not allow editing.
[10 Dec 2007 4:37] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[7 Jan 2008 20:07] Johannes Taxacher
This is expected behaviour for all Object-Notations of the Type "Workbench" (MainMenu->Model->Object Notatiln). For Notations of type "Workbench" the table-size is auto-calculated and cannot be set manually (neither via dragging nor via property-editor).

The color of the drag-handle gives a hint if the object is resizable or not: 
- grey filled handle -> fixed height/width
- white filled handle -> sizeable

we're still on fixing some issues with autosizing when table/columnnames are long