Summary: | Plugin, Fits, and Filter dialogs resize for each plugin | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Rick Chern <rchern> |
Component: | general | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rick Chern
2004-08-12 00:26:16 UTC
Actually many of our dialogs have geometry issues. Increasing the scope of this wish: Currently the plugin, fit, and filter dialogs resize when the selected plugin is changed. Not only do they resize vertically, but horizontally as well. This can be a bit disconcerting. It would be nice if the dialogs did not resize at all. Perhaps the list of inputs could be put in a list box (using a custom QListBoxItem), with the list box having two columns - one with the name of the input, and one with lineedits/comboboxes to select the input. If the list becomes long, the list box would have a scroll bar. The same thing would be done with outputs, in a list box below. I don't like this behaviour. I much prefer resizing the dialog since we seem to always have a number of inputs and outputs small enough to make this sane, and scrollbars with more widgets seem to be a bit more confusing. By the way, the solution to this style of UI would be to use a scrollview with widgets inside it. I think for most of the plugins, resizing is fine, but on Andrew's laptop, there is one existing plugin that resizes the dialog so that the OK and Cancel buttons go off the screen. Working on this one in conjunction with #85676 CVS commit by staikos: Don't let the plugin dialog be resized smaller than the contents BUG: 87006 M +1 -0 kstfilterdialog_i.cpp 1.20 M +1 -0 kstfitdialog_i.cpp 1.43 M +1 -0 kstplugindialog_i.cpp 1.91 --- kdeextragear-2/kst/kst/kstfilterdialog_i.cpp #1.19:1.20 @@ -165,4 +165,5 @@ void KstFilterDialogI::fixupLayout() { _pluginFrame->resize(_pluginFrame->sizeHint()); resize(sizeHint()); + setMinimumSize(size()); updateGeometry(); } --- kdeextragear-2/kst/kst/kstfitdialog_i.cpp #1.42:1.43 @@ -178,4 +178,5 @@ void KstFitDialogI::fixupLayout() { _pluginFrame->resize(_pluginFrame->sizeHint()); resize(sizeHint()); + setMinimumSize(size()); updateGeometry(); } --- kdeextragear-2/kst/kst/kstplugindialog_i.cpp #1.90:1.91 @@ -267,4 +267,5 @@ void KstPluginDialogI::fixupLayout() { _pluginFrame->resize(_pluginFrame->sizeHint()); resize(sizeHint()); + setMinimumSize(size()); updateGeometry(); } |