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
1
vote
1 answer

How can my webpage tell if the user has enlarged their view?

I am trying to detect if the user of a web application has hit command + (say if they are on a Mac) or otherwise instructed their browser to enlarge the view in their browser. Is there a standard way to do this with JavaScript?
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
1
vote
4 answers

Using a JPanel inside JFrame does not size or move correctly

thank you for taking your time in reading this. I hope it is not confusing, and if any other information is needed, please let me know! Issue: I am making a Snake like game and I've created a JFrame, and then added the JPanel. Well, if I do not set…
Twister1002
  • 559
  • 1
  • 9
  • 26
1
vote
2 answers

Minimizing the size of a QTextEdit in a QTreeWidgetItem

I have a QTreeWidget filling with some itemwidgets, whose main widget will be a QTextEdit. The problem I'm having seems to be getting the size down to something managable. The usual method of setting the size policy to maximum doesn't seem to work.…
Cryptite
  • 1,426
  • 2
  • 28
  • 50
1
vote
1 answer

JScrollPanes, JTextAreas, and maximum sizes

Context: In a flashcard application, I have a view for a CardData (a data structure representing one side of a flashcard). It has, in its most basic form, a String text. The view (known as CardDataView) consists of the text in an uneditable…
wchargin
  • 15,589
  • 12
  • 71
  • 110
1
vote
2 answers

WPF Container that resizes children

I need to find a WPF Container control where when layed out with a fixed size, can adequately resize children controls so that the size of each child control is reduced as new items are created/added in/to the container. So assume this control…
MickeySixx
  • 195
  • 1
  • 2
  • 15
1
vote
0 answers

Aligning header and data with scrollable html tables for large data sets

I've built some dynamically generated tables from a mysql database and am trying to set it up so that the data rows will scroll, and the header row will not. This way you don't have to scroll back to the top of the page to see what column you are…
user1245706
  • 151
  • 2
  • 2
  • 13
0
votes
2 answers

Magento configurable items - multiple store views and size variations/conventions

I'm running Magento Enterprise 1.11.2.0 and my inventory is primarily shoes. I use 3 store views: EU, UK, and US. My size attribute across these 3 views allows me to specify equivalents for each regional sizing convention. Some brands have slight…
cfx
  • 3,311
  • 2
  • 35
  • 45
0
votes
1 answer

Size-to-content FormItem height

I put a FormItem in a Form like below. There's gap…
0
votes
0 answers

Card won't size to content

Picture Example My cards aren't sizing to the individual tab content, and are instead stretching to try and fit both tabs at the same time. Tab one is displayed at the top, and tab four is displayed at the bottom. (Tab two, not shown, is in the…
0
votes
2 answers

Fit image on screen CSS

I want all of this sample HTML structure to fit 1 screen without scrolling, the image has to resize appropriately. But there is still scrolling.
bolshas
  • 101
  • 3
  • 15
0
votes
0 answers

Any ways to make a element perfectly proportionated with Bootstrap icons

I've been tryna make a website, I use bootstrap icons library for my icons and I've been going throught a problem that doesn't seems to be fixable. I cannot find any answers on StackOverflow or Google (or any other websites). The thing is that…
0
votes
0 answers

Shopify Dawn Size Swatches (disable if sold out)

I'm trying to create a store in Shopify Dawn theme and would like if you are on a product page, the sizing options under the color options be disabled or crossed out if sold out. Below is code for the radios. {%- unless…
Mark Kelly
  • 11
  • 1
0
votes
0 answers

Bootstrap and resizing an image to fit fully and centered within a 2 row div with flex-fill

I need to resize pictures in 2 different div elements stacked over each other. These elements are on the right side of another larger column. I want them to maintain exactly 50% height of the other left column at all times. This should cause the…
0
votes
1 answer

Making images same size in bootstrap or just CSS

I have been trying to make 6 images all responsive and the same size. I tried with just CSS and now iwth bootstrap cards and am just not able to accomplish this. I have tried using flex box and grids setting width: 100%, height: auto, height to…
nickilynn
  • 3
  • 1
0
votes
1 answer

How make JFreeChart nicely resizable?

I wonder if it's possible to draw nicely some charts using JFreeChart & ChartPanel. When I increase window size I want the chart to fill-up the new space, using a GridBayLayout. But the text labels are streched also and becomes really ugly. Here is…