Questions tagged [insets]

inclusion of smaller elements within larger elements; includes html elements, pictures, graphs

131 questions
0
votes
2 answers

Gnuplot: inset from file .plt

I have 2 generic Gnuplot files: plot1.plt and plot2.plt already saved. I need to merge them in a single plot in which plot2.plt is an inset of plot1.plt. I think I can explain better with a picture. The final result, let's say, should be something…
Gigino
  • 341
  • 3
  • 16
0
votes
1 answer

java; basic way to add components in custom locations (jframe)

I need to use Custom Locations for my JFrame components, I have tried looking in Java's Document about Using the insets object for making a custom location but i dont really understand that well... if you got any ways to add components in custom…
0
votes
1 answer

R studio: make small plot inside histogram and repeat it for as many times as I need, using par function

I need to make a histogram for my variable which is 'travel time'. And inside that, I need to plot the regression(correlation) data i.e. my observed data vs predicted. And I need to repeat it for different time of day and week(in simple words, make…
santosh
  • 19
  • 6
0
votes
0 answers

Map Inset in R, viewport

I am trying to add inset of my polygon into a map. Page 11 of this pdf (https://journal.r-project.org/archive/2013-1/kahle-wickham.pdf) shows what im trying to get. Unfortunately I am new in R and can`t understand how it works even with this…
banshe
  • 75
  • 2
  • 9
0
votes
2 answers

Gridbag Layout, Insets or anchor won't take effect

Okay, so I need your help guys. I don't know what I missed but the insets and anchor is not taking effect even though I've set the layout to GridBag. I need to put the logout button just above the tabbedpane and position the logout button on the…
heisenberg
  • 1,784
  • 4
  • 33
  • 62
0
votes
2 answers

java fx gridpane setpadding

I am trying to set the padding for my GridPane, but every time I set the padding it gives me the error message: incompatible types: java.awt.Insets cannot be converted to javafx.geometry.insets Every website I go to and every search states to…
user2829664
0
votes
1 answer

Java - GridBagLayout/Insets position JLabel under another

I use a GridBagLayout and have two JLabels. I want the first one to appear on the top left and the next one right below it and to the right. I use: setLayout(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); …
darkchampionz
  • 1,174
  • 5
  • 24
  • 47
0
votes
1 answer

Centering Text Inside A Colored Inset Border Textbox

I'm new to html & css, and I'm trying to have non-editable (permanent) centered text inside a colored inset border textbox. I can't seem to get permanent text within the textbox. Any text I type seems to go outside of the textbox.The 9px inset part…
Rakuten
  • 33
  • 9
0
votes
1 answer

how to insert snapshots from rgl window into ordinary R plot

I am using R package rgl to create interactive plots and then its function rgl.snapshot to export images from them. I am wondering, however, if there is a way how to insert snapshots from the interactive rgl plot directly into insets of an ordinary…
0
votes
2 answers

How to add a margin to a CheckedListBox in .NET?

I'm writing an windforms application using .NET (actually IronPython, but that's not relevant), and I have a CheckedListBox object in my GUI. It's working fine, it has about 20 items in a multicolumn layout. But I can't figure out how to give…
Xanatos
  • 1,576
  • 18
  • 28
0
votes
0 answers

How to get Insets if no Renderer exists

If the JTable's cells have an associated Renderer I am able to get the insets. : int x = ((JComponent)myRenderer).getInsets().left) : : int x = ((JComponent)myRenderer).getInsets().right) : I have specific code to verify if the call from…
Unhandled Exception
  • 1,427
  • 14
  • 30
0
votes
0 answers

why getBorderInsets method is not static?

Why is the following method is not static? public Insets getBorderInsets(Component c) It returns the insets of the supplied Component. But since it is not static I need to create a border object to call this. What is the point? Am I missing…
WVrock
  • 1,725
  • 3
  • 22
  • 30
0
votes
2 answers

How to make an inset border with padding

I have this JsFiddle: Click here
0
votes
1 answer

CGContextRef inset?

So, I have this code, that draws a circle with a line around it. - (void)drawRect:(CGRect)rect { CGContextRef contextRef = UIGraphicsGetCurrentContext(); CGContextSetLineWidth(contextRef, 40.0); CGContextSetRGBFillColor(contextRef, 0.0,…
Sjakelien
  • 2,255
  • 3
  • 25
  • 43
0
votes
1 answer

Set a inset box shadow in css3

I use css3 in my web projects but i don't know how to set a inset little shadow on the top of the box ? I tried to set this following code for ex : box-shadow:inset 0px 0px 10px #fff Thanks
1 2 3
8
9