incorrect borders in Smart Form Template - abap

I don't have an upper frame and also ı have a 2 border in the right frame.
You can see more clear in the second screenshot.
I tried Select Pattern -> Displayed Framed Patterns but didn't work

Related

How to control matplotlib annotate (arrow more specifically) in terms of size of figure?

I'd like to draw arrows in my plots, iif there is enough size for the arrow to be displayed properly (ie, with arrow and tail in the right position). Is there any way to control this in code?
For a better explanations, here is the problem explained in 3 examples: in this 1st figure, the arrow shouldn't be displayed as the arrow should go from the dotted line to the solid black line, and in this case there is not enough space for a proper visualisation.
When the same image is zoomed, the arrow behaves correctly though:
Here goes a final example, with a figure in its normal size (without zoom) where the arrow behaves correctly and should be drawn.
In conclusion, in case 1 I would like the arrow not to be drawn (not enough space for a correct visualisation) and to be drawn in the other cases.

Transform scale relative resizing

Is it possible to let the elements (next to the main element) adjust to the position it's scaling to?
My explanation may be terrible, but here is an image explanation.
So whenever i'm hovering on the main (middle) element. The padding on the left & right side will scale with it. See it as having an "relative" pop up of the image.
Keep track of the original left and right borders, say leftOrig and rightOrig. When you scale up, determine your new borders, leftNew and rightNew. Now all you have to do is shift the left element to the left by abs(leftNew-leftOrig), and do similar thing for the right.

view is different on canvas and on simulator

Look at the titles of the buttons. Also the placing of the 1 at the bottom.
Any idea what can cause that? (All I did was to drag and drop and wrote some simple calc code)
In your picture, there are blue lines to the bottom and left of your 1 button. This means that your button is aligned to the bottom left of the screen.
The rest of your buttons are probably aligned with the top of the screen. This means that if height of the screen changes, your buttons will not line up. If you align the button to the top of the screen you shouldn't have this issue.
You can change the alignment by moving the button to the top of the screen so that the blue line is at the top and then dragging it back down to where you want it, or you can change it in the Size Inspector.
As for the issue of missing titles, it looks like somehow the buttons with missing titles have strange constraints that cause the titles to disappear when the screen is getting laid out. I was able to get rid of the issue by deleting all but the first row of buttons, selecting that first row and duplicating it 4 times for the other rows. This ensures that all the buttons are lined up perfectly. A couple of your buttons had a width of 71 instead of 64 which might have been causing them to be laid out poorly.

Experimenting with responsive, absolute positioned child div... (eek!)

So,
I have a fairly simple parent div containing two child divs, one is text (floated left), the other contains an image (floated left against the first child)...the float of the second is kind of irrelevant (I just don't want it to drop down below). But what I want to achieve is for the image to sit in the bottom right of the parent and STAY there. At the same time I want it to be part of a fluid grid and for the distance from the bottom/right to also be responsive.
I tried absolute positioning (with an extra parent added around it to position:relative), which just didn't work at all...it could only be left/top positioned which then wouldn't work in %'s.
I then tried adding padding (top, left) instead of using positioning, thinking I could maybe push it into place...which worked great for keeping it to the right (pushing left), but obviously didn't work for the bottom (pushing from the top), as this value needed to increase as the screen decreased rather than the other way around (doh!).
Just wondering if anyone has any ideas or creative solutions?
I know I'm trying to do a number of tricky things all at the same time!!

NSOutlineView indentation Problem

For the custom requirement, i need to handle displaying of Cell, i.e. In short in my application i subclass NSCell to ImageTextCell (standard form Apple ) and using the same to display the Cell,
When it comes to indentation, i could see, all the element having same indentation, i.e. in my outline view i have two group and each group having more then two child element + three child element (i.e. Non Group Item ) on the top level,
But the strange thing is all the element are displaying at the same level, do i need to set anywhere indentation level and should take care of displaying text and image as per indentation level ?
Your cell drawing code is probably hardcoding 0 as the x-coordinate to draw from, rather than respecting the cell bounds passed to it. In short, you do not need to do anything special to handle indentation; we can't really help more without seeing some code.