In some earlier browsers it was possible to register resize event handlers on any HTML element. It is still possible to set onresize attributes or use addEventListener() to set a handler on any element. However, resize events are only fired on the window object (i.e. returned by document.defaultView). Only handlers registered on the window object will receive resize events.
So I switched a page to the new responsive engine, firstly it sucks and makes no sense.
Secondly, I can no longer drag my group to resize it, do I have to manually type in a size now or something? Whats going on?
This seems like it should have a simple answer, but I can't seem to find it. I have a VI that contains 12 subpanels each within a seperate pane. Each of those subpanels loads a VI. When I resize the main VI, I want all the VIs in the subpanels to resize as well. I've set the subpanel to fit the pane.
I tried programmatically setting the VI front panel bounds to match the subpanel when the main VI's resize event fires. I get an error stating that front panels bounds cannot be set when that VI is in a subpanel.
In your resize event, maybe you can unload the subpanel, resize it, then reload on mouse up. It might be disturbing not to see the VI in the subpanel while resizing. Just a thought and there is probably a better way. If there is then someone will definately reply.
My tests show this not to be true. Attached is a Parent and Child VI. Run the child and resize the window. You will see the indicator "NewBnds" change as the window is resized. Now run Parent. It will load the Child VI into a sub panel that is set to fit to the pane size. Now if you resize the Parent window, it will resize the subpanel, and the Child Vi will change in size. However the "NewBnds" value does not change, meaning the : Panel Resize event is not being fired in the Child VI, when a subpanel is resized in a Parent VI.
Code in a resize handler should never rely on the number of times the handler is called. Depending on implementation, resize events can be sent continuously as the resizing is in progress (the typical behavior in Internet Explorer and WebKit-based browsers such as Safari and Chrome), or only once at the end of the resize operation (the typical behavior in some other browsers such as Opera).
I am encountering problems trying to resize the default popup feature. Regardless of my approach, The popup will not properly size the window to my photo and description. I understand this may be impossible currently, according to previous threads:
All layers should resize at the same time (scaling) if you configured them to be responsive. The group will only group it but each layer may still have its local responsive configuration. Example, in your layer you can switch to behavior and configure it
If the author is using a technology whose user agents do not provide zoom support, the author is responsible to provide this type of functionality directly or to provide content that works with the type of functionality provided by the user agent. If the user agent doesn't provide zoom functionality but does let the user change the text size, the author is responsible for ensuring that the content remains usable when the text is resized.
Some user interface components that function as a label and require activation by the user to access content are not wide enough to accommodate the label's content. For example, in Web mail applications the subject column may not be wide enough to accommodate every possible subject header, but activating the subject header takes the user to the full message with the full subject header. In Web-based spreadsheets, cell content that is too long to be displayed in a column can be truncated, and the full content of the cell is available to the user when the cell receives focus. The content of a user interface component may also become too wide in user interfaces where the user can resize the column width. In this type of user interface component, line wrapping is not required; truncation is acceptable if the component's full content is available on focus or after user activation and an indication that this information can be accessed, is provided to the user in some way besides the fact that it is truncated.
The working group feels that 200% is a reasonable accommodation that can support a wide range of designs and layouts, and complements older screen magnifiers that provide a minimum magnification of 200%. Above 200%, zoom (which resizes text, images, and layout regions and creates a larger canvas that may require both horizontal and vertical scrolling) may be more effective than text resizing. Assistive technology dedicated to zoom support would usually be used in such a situation and may provide better accessibility than attempts by the author to support the user directly.
Ensuring that text containers resize when the text resizes AND using measurements that are relative to other measurements in the content by using one or more of the following techniques:
I am working in ArcPro version 2.0.1 and making some maps. When I add a legend the symbols and labels are small. Also, when I resize the legend box the symbols and labels will not adjust to fit. In the legend properties under arrangement , the fitting strategy is set to "Adjust columns and font size." What needs to be changed so that the columns and font size adjusts automatically? Attached are images of the legend with different sizes.
I'm using the Flot graphing library jQuery plugin and I haven't found a good way to handle resizing the graph when it's containing changes size (for example, due to window resizing). When handling the onresize event, I've made sure that the width and height of the containing are updated to the correct size and then tried calling both setupGrid and draw on the plot object but with no effect. I've had some success with the approach of just removing and readding the containing and replotting the graph in it. However, this seems to be prone to getting stuck in infinite resize event loops if I have to add other elements to the document at the same time (like for tooltips for the graph) as I'm guessing those can trigger resize events as well? Is there a good way to handle it that I'm missing?
I have found just binding to the resize event on the window and calling plot works really well. For example I have my data and options stored in variables on the page. Then I setup this on $(document).ready():
Tells Flot to resize the drawing canvas to the size of the placeholder. You need to run setupGrid() and draw() afterwards as canvas resizing is a destructive operation. This is used internally by the resize plugin.
I just found a solution to this myself. I've wrapped my call to $.plot() so that may be the original cause of my specific problem but flot refused to resize in a timely manner even when I used the jQuery resize event. Here's my code change that fixed everything:
At 4x, the AI's guesswork starts to mean that you won't want to look too closely, as it's easy to notice unnatural artifacts from either ON1 or Topaz if you're looking for them. There's no denying that both images are more useful than the heavily-blurred version that was resized by traditional methods, though.
I really appreciate this article showing the comparison of resize results zoomed in for the several images. My 'long' lens is only 18-135mm. I frequently crop to 1/9 to 1/16 of my originals and then I notice noise a lot. Upscaling a noisy image is ugly. I own/use ON1 Photo Raw for general image adjusting, but I also own Topaz Sharpen AI. I like Topaz' handling of noise better for most images, with presets for reducing blur due to focus, motion, or noise. I often find that I stroke my image with Topaz first, save it, and then use ON1 for tone, color and resizing. Also, my results with raw images are often more pleasing to me than starting from a JPG. My Topaz Sharpen AI is v4.1.0, and I own it for ongoing use, but it is unfortunately not getting updated. Topaz tells me I have to pay to get their full Photo AI suite to get updates there and I'd then also have Gigapixel AI. I haven't yet been willing to pay for that.
Wow what. Adobe is by far the winner here. That is unless you want a very over-processed over-smoothed image. We are getting in to computer generated art at this point when looking at what Topaz is doing. No thanks. I don't agree with processing to the point of making it digital art. I only want to see the original data in the photograph resized, no new drawings, over-smoothing, etc. Sorry dpreview, you lost.
Forgive me if this is a stupid question, but a problem I frequently run into in Affinity Designer is the following: I have an object (such as a rectangle), I make other objects children of this object so they will mask to its bounds, then I find I need to resize the bounds of the parent object. I realize that the intended behavior for resizing a parent element is to resize all of the children elements as if it were any other group. However, I was wondering if there is any method/modifier keys that might let me resize the parent object without modifying the children, just to adjust the bounds. Hopefully this question makes sense... if it isn't possible (which I would not be surprised if it isn't, as it's a rather strange request), is there another easy technique of masking I could use? My usual method is to create parent objects as masks, then just place the objects I wish to mask as children. Any help is appreciated. Thanks!
Using mermaid diagrams in Obsidian is currently a bit clunky, and not everything works. Most of these issues can be addressed by allowing the users to resize and realign the mermaid diagram. I think this screenshot can demonstrate my points pretty well:
image16861108 174 KB