View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003753ParaView(No Category)public2006-09-11 19:052007-05-07 11:08
ReporterBrian Wylie 
Assigned ToClinton Stimpson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003753: General grumble about widget resizing behavior
DescriptionThere seems to be a general lack of dynamic resizing behavior in the ParaView widgets. There are many widget who do not resize to fit their contents (too small) and there are several (like the block and set lists in the exodus reader) that are too large and should resize to save on empty space.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0007499)
Ken Moreland (manager)
2007-04-26 16:20

Brian has a point here. Having table/list views base their height on the size of the widget they are contained in makes little sense when the container has a scrollbar.

It would be much better if the table/list views set their size to show all of the elements in the list up to some maximum size. Is this possible, Clint?
(0007501)
Clinton Stimpson (developer)
2007-04-26 17:35

Yes. It is possible.

If setting the minimum size hint doesn't work, then we can just subclass the list/tree/table classes and reimplement sizeHint().
(0007511)

2007-04-27 16:41

/cvsroot/ParaView3/ParaView3/Qt/Widgets/pqSelectionTreeWidget.cxx,v <-- pqSelectionTreeWidget.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Widgets/pqSelectionTreeWidget.h,v <-- pqSelectionTreeWidget.h
new revision: 1.3; previous revision: 1.2

I set the maximum size to 6 items. Let me know if you want it bigger.
(0007512)
Clinton Stimpson (developer)
2007-04-27 16:42

/cvsroot/ParaView3/ParaView3/Qt/Widgets/pqSelectionTreeWidget.cxx,v <-- pqSelectionTreeWidget.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Widgets/pqSelectionTreeWidget.h,v <-- pqSelectionTreeWidget.h
new revision: 1.3; previous revision: 1.2

I set the maximum size to 6 items. Let me know if you want it bigger.
(0007531)
Ken Moreland (manager)
2007-05-01 11:09

Let's make the maximum size 10. That makes the maximum height in the Exodus panel closer to what it was originally.

Also, can we have a similar solution for some of the other general table views? For example, the Data Arrays and Time tables in the Information tab of the Object Inspector are usually scrunched so small as to be useless.

As usual, you do something great and I reward you with more work.
(0007540)
Clinton Stimpson (developer)
2007-05-01 11:44

/cvsroot/ParaView3/ParaView3/Qt/Widgets/pqSelectionTreeWidget.cxx,v <-- pqSelectionTreeWidget.cxx
new revision: 1.9; previous revision: 1.8

10 items now, instead of 6.
(0007556)
Clinton Stimpson (developer)
2007-05-03 12:56

/cvsroot/ParaView3/ParaView3/Qt/Components/Resources/UI/pqProxyInformationWidget.ui,v <-- pqProxyInformationWidget.ui
new revision: 1.5; previous revision: 1.4

Information tab uses new dynamic size hints.
(0007567)

2007-05-07 11:08

Looking good. There are probably other places where we can use this new widget, but we will address them as they are found.

 Issue History
Date Modified Username Field Change
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team