Questions tagged [stretching]

106 questions
2
votes
1 answer

Xamarin Android Button on Right an Left with Margin

I have a complex View, in that i need to set Buttons at the bottom of the page. I need two rows of bottons, with one on the left and two on the right. The way I manage to solve this is like this:
Diego
  • 2,238
  • 4
  • 31
  • 68
2
votes
0 answers

CodenameOne playing video / size and position

just another question: I want to play an intro video when starting my app. It should be stretched to the display's width automatically. Unfortunately I don't know how to set the size and the position of the video. I place it into a Form but it…
Guzzer
  • 161
  • 5
2
votes
2 answers

how to set the stretch the background image with CSS

how to stretch the background images using CSS for page backgrounds and for DIV & table backgrounds... so that if the window size changes the background image size should stretch (expand / contract) accordingly....
Moon
  • 19,518
  • 56
  • 138
  • 200
2
votes
1 answer

Chrome v52 html5 video's getting stretched?

I've a website that uses standard html5 video tags to pull down videos from cloud storage. All is fine, however since my Chrome browser got updated to v52+ videos are by default getting stretched too wide as if Chrome has an issue with the…
Paul Deehan
  • 59
  • 1
  • 5
2
votes
1 answer

Sound stretching for DJ like effect algorithm

I am working on a project including sound stretching using SoundTouch and C#. As an effect when stopping the music playback, I want to implement a stretch algorithm like when the DJs turn the Vinyl off but it takes some seconds for the Vinyl to stop…
Rojan Gh.
  • 1,062
  • 1
  • 9
  • 32
2
votes
2 answers

Stretching ImageView to fill screen height inside of Horizontal Scroll View

I've read all there is to read in terms of supporting different screen desnities. And, I have supplied proper variations of the images being display to appropriate folders. However, I am bewildered by something. The documentation for ImageView…
Joseph.M
  • 69
  • 2
  • 12
2
votes
1 answer

how to make firefox fullscreen mode like chrome (i.e. not streching content)

I am using the fullscreen API of modern browsers for my game application, Chrome works great in this respect and gives a window resize event that allows the resetting of the canvas dimensions according to the new fullscreen size. Firefox also…
ejectamenta
  • 1,047
  • 17
  • 20
2
votes
2 answers

html stretching div

I have this markup
blabla
title
jose
  • 2,733
  • 4
  • 37
  • 51
1
vote
2 answers

Auto stretch div when it's default height/width is filled

my template is as follows: .layout{ height:100%; width: 70%; position: fixed; } .header{ height:20%; width: 100%; } .content{ height:60%; width: 100%; } .footer{ height:20%; width: 100%; } the content has a default height 60%, and i…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
1
vote
1 answer

Scaling an array of occurences in python

I have an array of ints which describes the absolute occurrence of unique items in a data set. eg. a = [5, 3, 1] means there are three unique items with a data set length of 9, perhaps x y and z, and they occur x -> 5 times y -> 3 times z ->…
Alex
  • 449
  • 1
  • 4
  • 16
1
vote
1 answer

how to create home page button with image and text(html, css)

all i want to do is to be able to create this main page button. i want to put an image and text next to each other in a button and when click on the button it'll link me to the main page. (i'll give it a
1
vote
0 answers

Resize canvas maintaining proportions of content, avoid stretching

I'm creating a canvas element to place some Babylon content. I want that canvas to be full width and full height responsive. For that I used this JS: $( window ).resize( function () { $('#canvas').css({ "height": window.innerHeight, …
1
vote
3 answers

Avoid TextBox vertical stretching

How can I avoid TextBox vertical streching in following example:
alex2k8
  • 42,496
  • 57
  • 170
  • 221
1
vote
1 answer

Text Stretching issue around path on canvas on different android testing devices

I am drawing text around an Oval Path on canvas. Not stretching on my Infinix and Samsung S9(API 28) devices but not have the same behavior on these both for example M alphabet is attached with a different point with arc but not stretching. But on…
1
vote
2 answers

Stretching and resize a div dynamically

I am trying to stretch div as soon as some text is loaded.I am able to do that by giving min-height:140 px and height:100% to its parent container. But content in my div is crossing its parent container. How can I limit the inner div so that it will…
Gendaful
  • 5,522
  • 11
  • 57
  • 76