Questions tagged [placement]
206 questions
0
votes
1 answer
Placing a Smaller Texture2D into a larger one
Similar to many programs that take a tiled map, like that in the game Terraria, and turn the map into a single picture of the entire map, I am trying to do something similar. The problem is, my block textures are in a single large texture atlas and…
![](../../users/profiles/2256041.webp)
sm81095
- 290
- 1
- 4
- 18
0
votes
3 answers
Twitter bootstrap wrong position on the middle of the element
I'm placing some html elements in the page through ajax calls, so I'm calling the tooltips like so:
$(document).on('hover','.has-tooltip',function(){
$(this).tooltip('show');
});
I've tried also with this:
$('body').tooltip({
selector:…
![](../../users/profiles/1068250.webp)
don
- 2,942
- 11
- 36
- 59
0
votes
2 answers
Evenly distribute spacing of buttons based on iPhone screen size
I'm having a problem with the layout (spacing) of my buttons when I switch between the iPhone 5 & 4 screen size.
On the 5 it looks just the way I want it to
However, on the 4 it bunches up. Does anyone know how I can fix this? I have been messing…
![](../../users/profiles/1777808.webp)
user1777808
- 39
- 1
- 9
0
votes
1 answer
Is it possible to position elements by their center?
With position: absolute, you place an element by defining one of it's corners (often using the top and left properties). Is it possible to place it by defining it's center? (without knowing it's width/height?).
![](../../users/profiles/731881.webp)
technillogue
- 1,182
- 3
- 12
- 27
0
votes
3 answers
Optimal placement of objects wrt pairwise similarity weights
Ok this is an abstract algorithmic challenge and it will remain abstract since it is a top secret where I am going to use it.
Suppose we have a set of objects O = {o_1, ..., o_N} and a symmetric similarity matrix S where s_ij is the pairwise…
![](../../users/profiles/1155980.webp)
argyris
- 121
- 6