Summary: | Add margins to windows (for metadata labels) | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | arwalker |
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Brisset
2008-02-13 19:09:50 UTC
The margin settings are specified within the "Edit View" dialog. Right click on an empty region of a window and select Edit... to launch it. The margins are honoured for any cleanup layout request. There is no attempt to prevent the user from manually positioning view objects outside of the margin limits. If the margin values are modified this will not be reflected in the window until the next cleanup layout action. Could you just outline the way it's supposed to work ? because I: - created a window with 4 plots - switched to layout mode to have access to the window->edit context menu (hint: couldn't it be added elsewhere, like in the view manager for instance ?) - chose a random value for left, top, bottom or right margins and hit OK - called up "cleanup layout" - ... and nothing happened ! I had expected to see empty spaces between the plots and the window border, but it may be that I misunderstood something ? What you're doing sounds right. However, the margin request will be ignored if any of the margin values are < 0, or if top+bottom or left+right is greater than 0.5. If this is still a problem send me the values you are using for the margins and a screenshot of kst. OK, it works. Maybe my values were not in the ranges ? I think some indication as to what is acceptable would be necessary. As a general usability rule, you just can't have silent errors like in that case! What's more, it may not be clear to the user what the "scale" is. Maybe we could add a simple text label in the dialog (or tooltips on the entry fields) with: "Note: margin values from 0 (none) to 0.5 (half-window). Top + bottom and left + right may not exceed 0.5" A warning dialog may also be used for wrong entries, but in scripting/batch mode popping up an extra dialog is not always desirable. |