Questions tagged [stretching]

106 questions
0
votes
1 answer

How to make an image pattern fill the bounds of svg polygon, but would not stretch (the quality) of the image when resizing?

I'm new in svg. I created a polygon and filled it up to its bounds with an image. But the image is stretched and stretches when the window is resized. Here's my code:
Athan
  • 1
  • 1
0
votes
1 answer

Android. Programmatically added rows are not stretching well (TableLayout)

I have a TableLayout declared in a XML File, it will show scores, and these scores are added via rows programmatically. The problem is that the layout without any score added looks like this (As it should be): Correct But when a score's row is…
0
votes
1 answer

Gridview aligns closer to left side of screen

I have a GridView within FrameLayout as shown below: As seen, numbers are aligned closer to left side of the screen. I have tried to bring numbers closer so that i could solve the problem, but failed. Playing around with stretchMode like…
Umit Kaya
  • 5,771
  • 3
  • 38
  • 52
0
votes
3 answers

Images in the middle on WP8,

Please, tell me, how can I place the image inside in the middle? Stretch: Uniform to fill. I want to focus was on the middle of the picture
Nikita
  • 154
  • 1
  • 13
0
votes
1 answer

HTML5/ Javascript - Stretch image source

Hi I'm getting image from webcam and I save it on canvas, what I want to do is to stretch it by x and y cooridnates keeping same img dimensions, what I mean is, this is the original webcam picture: and this is how I wanna it to be when…
itsme
  • 48,972
  • 96
  • 224
  • 345
0
votes
1 answer

Centering and filling a div with an image without distortion

I keep finding almost solutions to something that I feel should be really simple, but can't figure it out. (note - i'm at a really rudimentary stage of learning CSS right now) I have one image to put on a page. Center horizontal/vertical. In a div…
0
votes
1 answer

Stretching a video?

I am trying to stretch the video that I have. It has to be 400 X 400 stretched. I tried using the "stretchtofit" value="true" but that doesn't work and I need the video centered under the heading. I'm curious as to what I use to stretch the video? …
user2129596
  • 39
  • 1
  • 1
  • 3
0
votes
0 answers

ViewBox Stretch blurs the controls

ToolTip with numbers is a child UserControl, which is added to Canvas. Canvas is a child of the ViewBox. In order to scale the contents of the Canvas resizing control. The problem is that ToolTip getting blurred. ToolTip itself consists only of…
Mixer
  • 1,292
  • 3
  • 22
  • 41
0
votes
1 answer

QSvgWidget behaviour in QTableWidget cell

I have QTableWidget and I have populated one column with .svg files with QSvgWidget to show them : for... svgWidget = QSvgWidget("C:\mySVG.svg") self.ui.tableWidget.setCellWidget(i, j, svgWidget) ... Other columns are populated with some…
Aleksandar
  • 3,541
  • 4
  • 34
  • 57
0
votes
2 answers

CSS stretch elements to fit container height

Demo - how to stretch li elements to parent container height, so they fit all in ul with appropriate height? I need smth like that:
Alex Ivasyuv
  • 8,585
  • 17
  • 72
  • 90
0
votes
1 answer

CSS3 Box, How to strech the image inside a div with box properties

Yes! I did searched for related issues as it seems to be an easy question! However the solutions given on other topics do not solve my issue! Im using an area filled with divs (CSS3 Box). Multiple rows with multiple divs Each div gets his own…
Marcel
  • 1,494
  • 1
  • 23
  • 33
0
votes
4 answers

UINavigationBar Back Button stretchable image too long

I am using the following code to customise the back button of our UINavigationBar. However, the image is stretched too far, resulting in an image like the following. Please can you tell me how to prevent this? Thanks! [[UIImage…
max_
  • 24,076
  • 39
  • 122
  • 211
0
votes
1 answer

DIVs not stretching proplery?

So, I am working on a fansite, and I can't figure out why my "content" class div will not stretch. It's supposed to be 100% min-height, but it's not doing that. Also, I can't get it to stretch to the "column2" div, which is seated inside of it.…
0
votes
2 answers

Center checkbox in UniformGrid's cells in WPF

I want to center and stretch checkbox in UniformGrid's cell. I've tried to do it in many ways:
patryk.beza
  • 4,876
  • 5
  • 37
  • 56
0
votes
1 answer

Stretch Bitmap without anti-aliasing

I found this example and used it How do you resize a Bitmap under .NET CF 2.0 However my image looks horrible because of anti aliasing. It no longer looks pixelated as it should. How do i disable anti aliasing?
user34537