Questions tagged [sizing]

The operation of making appropriate scale according to size which can be dynamic.

Applicable in screen sizes (html) or load on server (load testing)

Please see other related tags: and .

234 questions
2
votes
1 answer

Java Swing JFrame size different after upgrade to JRE11 from JRE 7 or 8. How can I make the frame size consistent?

I help maintain a large, very old Swing project. We noticed that the swing project pages running under JRE 11 look quite a bit different from the swing project running under JRE 8, our previous version. I have been exploring this issue. One thing…
Warren
  • 179
  • 2
  • 7
2
votes
2 answers

Parallax image zooming in no matter what I do

it would seem this question has been asked many times over different websites with no real "ah-ha!" answer. I'm still very new and I understand there's a million different ways to code this but I'm hoping for a very simple solution that won't…
2
votes
0 answers

Why does white space appear around my content when I set javaFX stage's re-sizable property to false?

I would like an explanation as to why some white space appears around my content when I set the stage's re-sizable property to false. I want to prevent the user from resizing the window, but keep the window so that there is no white space…
Kyo
  • 21
  • 2
2
votes
1 answer

how do I set images to scale to 100% of their table-cell? (C#/WinForms)

I have the TableLayoutControl anchored to scale with the window and the images in it need to scale with them. I am not concerned with image quality.
LunchMarble
  • 5,079
  • 9
  • 64
  • 94
2
votes
0 answers

shrink (img) element height to that of sibling in flex container

I have a flex (direction: row) container with two elements. The first is an image, and the second is a div. Each element takes up 50% of the container's width. My goal is to get the image to always be the same height as its sibling, whose size is…
Willerie
  • 69
  • 5
2
votes
1 answer

UITextField RightView incorrect sizing

The problem The rightView is not properly resized, when the UITextField is placed inside an UICollectionView cell inside an UIStackView The code: func configure(cell: UICollectionViewCell) { guard let cell = cell as? ListTextFieldCell else…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
2
votes
1 answer

Codename-one sizing/scaling bar chart

I have searched far and wide, but I can't find the answer to a very simple question. I have a vertical stacked bar chart which bars are way to long - you can't see the entire chart on the screen. I just want to scale down the bars so the chart is…
MetalHead
  • 181
  • 1
  • 15
2
votes
2 answers

Size problems by converting iOS 9 today extension to iOS 10

Good evening! I have big problems by understanding today extensions. I've read lot of tutorials and introductions but nothing helped me to understanding the problem. On iOS 9 the extension works fine - on iOS 10 not. My big issue is the auto…
user3849220
2
votes
1 answer

teradata data block size and table size calculations

Been using this formula as a std for TB size calculation , as part of Cap. Planning effort . We are on TD 14 ( rc * ( rsz / ( blocksize -38) ) * blocksize ) + ( SQL (sel Hashamp()+1 ; ) * 1024 ) rsz : row size , rc : count ( * )…
2
votes
1 answer

Sizing problems when using custom WPF dialog control

I am defining a custom control in WPF which serves as the base class for multiple dialog windows which all leverage shared services (positioning, Ok and Cancel buttons). The custom control is defined as follows: public class ESDialogControl :…
Philipp Schmid
  • 5,778
  • 5
  • 44
  • 66
2
votes
2 answers

jcrop show image in modal dialog for cropping size issue

I am showing the image which is uploaded by user in a modal dialog. On this image I am initializing JCrop for cropping the image. The problem is that I am not able to set the image properly in the dialog, it works ok for images whose size…
pratik
  • 4,419
  • 8
  • 41
  • 65
2
votes
1 answer

Swift - Auto layout - UIView - Intrinsic Size Confusion

When using auto layout, I am confused on how to set the size of both my view and, more importantly, my labels/buttons/images. I have read dozens of webpages perspectives. Many say that if I am using auto layout correctly, I should not need to…
Dave G
  • 12,042
  • 7
  • 57
  • 83
2
votes
2 answers

libgdx how to get image to take up the whole screen?

I have this image(https://i.stack.imgur.com/ucafS.jpg) and am trying to make it take up the whole screen. Heres my code static Texture img; static Sprite sprite; public static void load(){ img = new…
committedandroider
  • 8,711
  • 14
  • 71
  • 126
2
votes
0 answers

Controlling sizing in a form within a table

I have a table that has a form inside one of the cells. Because of the way that bootstrap controls input field sizing, it seems the documented way to do this is through this method http://getbootstrap.com/css/#forms-control-sizes But, because my…
Clam
  • 935
  • 1
  • 12
  • 24
2
votes
2 answers

WinAPI - Custom sizing border (WS_THICKFRAME)

I don't like how the native sizing border looks like : I would like to have something like this fancy purple border instead : Should I implement my own sizing border manually or should I keep using the WS_THICKFRAME window style and customize it…
user2018626
  • 83
  • 2
  • 7