z-order

Python Issue of overlap as a function of the smallest areas of 1 Confidence level - priority for the smallest surface for each box

别等时光非礼了梦想. 提交于 2020-12-15 04:55:06
问题 In python3, I am faced to one issue using the tool GetDist tool to produce triplot of covariance matrix. 1) Currently, I can plot 2 covariance matrixes on the same figure by only one call of the plotting function (triangle_plot). Specifying as first input the list of covariance matrix to plot is enough to have the (1 sigma,2 sigma) contours of each matrix. Here an example of triplot produced by 2 covariance matrixes (filled area correspond to 1 sigma confidence level (68%) and shaded to 2

CALayer Border is appearing above subview (Z-order related, I think)

限于喜欢 提交于 2020-12-02 05:37:07
问题 I have searched but could not find the reason for this behavior. I have a UIButton whose image I am setting. Here is how the button should appear. Note that this is just a photoshop of the intended button design: Essentially, it is a square custom UIButton with a white border and a little surrounding shadow. In the upper right corner, there is a "X" mark, that will be added programmatically as a subview. Here is the screenshot of the button within the actual app. At this point, I have only

CALayer Border is appearing above subview (Z-order related, I think)

冷暖自知 提交于 2020-12-02 05:36:22
问题 I have searched but could not find the reason for this behavior. I have a UIButton whose image I am setting. Here is how the button should appear. Note that this is just a photoshop of the intended button design: Essentially, it is a square custom UIButton with a white border and a little surrounding shadow. In the upper right corner, there is a "X" mark, that will be added programmatically as a subview. Here is the screenshot of the button within the actual app. At this point, I have only

Android: SurfaceView

空扰寡人 提交于 2020-02-06 06:24:44
问题 I have SurfaceView with setZOrderOnTop(true) .This flag is needed for the transparent SurfaceView's background during the drawing process. How can I display any View in front of it? 回答1: SurfaceViews are not designed to be composited with other views. As described in the doc for setZOrderOnTop, once you set this mode, none of the other window contents will be visible on top of the SurfaceView. If you want to do compositing, you will have to do it yourself, off-screen, then draw the results

Android : Place non-clickable view above all application windows but below notification bar

荒凉一梦 提交于 2020-01-17 14:23:11
问题 Sorry for the long title. I would basically like to add a SurfaceView as a window that appears above all windows but not above the notification bar (even when dragged down). The code I currently have is: WindowManager.LayoutParams params = new WindowManager.LayoutParams(WindowManager.LayoutParams.WRAP_CONTENT, WindowManager.LayoutParams.WRAP_CONTENT, WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY, WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH, PixelFormat.TRANSLUCENT); This works

How to send view to back ? How to control the z-order programmatically?

时间秒杀一切 提交于 2020-01-09 06:46:46
问题 I have a problem to send the view to back. In Android we have a method like bringToFront() , to place the view on top of the another view. Like that, I want to put the view on below the previous image. Is there any method like sendToBack() or bringToBack() in Android. If so, can any one help me in this. Note: that I do not want to control the z-order by the order of placing items in layout I want to control the z-order programmatically. I do not want to hide the views on the front I just want

Android: FrameLayout not respecting draw order

余生长醉 提交于 2020-01-07 02:01:07
问题 I have a FrameLayout with four SurfaceViews arranged in a 2x2 grid. The user can resize each of the views. I'd like the views to be drawn in order of their area, with the largest view drawn first and so on. Each time a view is resized, I order the views by their area, and update the FrameLayout: public void reorderViews() { PlotView child1; PlotView child2; boolean swap = false; for(int i = 0; i < layout.getChildCount(); i++) { child1 = (PlotView) layout.getChildAt(i); for(int j = i + 1; j <

In WPF, how to display AdornerLayer on top of DataGrid

岁酱吖の 提交于 2020-01-01 12:11:04
问题 I am using WPF datagrid from codeplex. I am using DatagridTemplateColumn and I have written datatemplates to display contents in each column. Now I have to display some help message to a user when the any control in datagrid is focussed. For this I thought of using adorner layer. I used ComboBox loaded event and accessed the adrorner layer of it. I then added my own adorner layer with some thing to be displayed there similar to tooltip. Below is the code. TextBox txtBox = (TextBox)comboBox

MainFormOnTaskbar + tooltip causes focus-stealing

孤街浪徒 提交于 2020-01-01 12:04:11
问题 I built the code below using Delphi XE2. It creates Form1, and Form1 immediately creates an instance of Form2. When I press the button on Form2 a second Form2 is created. Now if I hover the mouse over the button on this second, topmost, Form2 and wait for the tooltip to appear, the moment the tooltip appears, the first Form2 comes to the front, stealing focus. The problem occurs only if Application.MainFormOnTaskbar is True . It also relies on the first Form2 being created from Form1's

MainFormOnTaskbar + tooltip causes focus-stealing

坚强是说给别人听的谎言 提交于 2020-01-01 12:03:14
问题 I built the code below using Delphi XE2. It creates Form1, and Form1 immediately creates an instance of Form2. When I press the button on Form2 a second Form2 is created. Now if I hover the mouse over the button on this second, topmost, Form2 and wait for the tooltip to appear, the moment the tooltip appears, the first Form2 comes to the front, stealing focus. The problem occurs only if Application.MainFormOnTaskbar is True . It also relies on the first Form2 being created from Form1's