Questions tagged [shrink]
249 questions
0
votes
2 answers
Resize image in table below 100% when resizing window
I think similar questions have been answered, but none really seem to have helped me out that much.
I have a table that is set to width="100%" with a cell on the top row.
This cell contains an image which is fairly wide.
When I resize the window,…

Eds
- 533
- 4
- 16
- 35
0
votes
0 answers
React textarea grows but doesn't shrink, how to make it shrink?
I have this React component, which successfully grows the textarea.
.textarea {
resize: none;
overflow: hidden;
box-sizing: border-box;
}
export default function Textarea({
className,
onChange,
defaultValue,
...attrs
}) {
const…

Lance
- 75,200
- 93
- 289
- 503
0
votes
1 answer
Why flex-shrink doesn't work in inline-flex
Why items dont shrink in inline-flex. But it works fine in normal flex. Maybe it is supposed to work that way, I dont know. Maybe it is somewhere in the spec but I coudn't find anything related. I would be grateful if someone could explain…

flasher1101
- 63
- 6
0
votes
0 answers
Dart: Putting a list into a map shrinks the list
I want to have a map which saves two types of lists. When I try to add a list with two items into a map, the map gets a list with only one item, although it had two! How can I add the list to the map, without losing any items?
Map

rento
- 47
- 1
- 7
0
votes
1 answer
How to create one BufferedReader for several text files
I am trying to read text from three separate files. I couldn't think of a cleaner way to use only one BufferedReader. And is there a way to save text in to a empty part of an array without creating byte i = 0.
I am new to Java, So thanks for…

vabalas
- 5
- 3
0
votes
3 answers
How to make a box to shrink first and when it reaches a specific size, it drops down to another line of a row?
I have a problem I can't solve which I want to reproduce a behaviour.
This behaviour consists in, per example:
Two divs(div1 and div2) in a flexbox row with flex-wrap, where the div2 shrinks(while you're changing window size) until it reaches a…

Zeddy
- 9
- 2
0
votes
1 answer
Bring up scrollbar when is shrunk
I am using a component from the Material UI Library in my React app, as such:
This creates a textarea that autosizes based on the size of the content. I have…

penguin
- 143
- 3
- 11
0
votes
0 answers
DROP and CREATE Database instead of TRUNCATE and SHRINK in SQL Server
I would like to understand, what are the flaws following scenario:
Supposing I have a database "A" which is used to acquire data from somewhere (let's say CSV file), and then this data continues to some other database "B". All of these (CSV, A, B)…

Filip Kraus
- 2,714
- 2
- 14
- 16
0
votes
1 answer
How can we shrink middle flex item?
I am trying to make a layout from flexbox. I have 3 column of boxes which have following layout till they reach mobile layout where they will stack on top of another.
But before I reach mobile layout I am trying to shrink all the items…

Biebk
- 141
- 1
- 7
0
votes
1 answer
ImageMagick: How to use "Only Shrink Larger Images" ('>' flag) both on windows and unix
I found this description on website http://www.imagemagick.org/Usage/resize/#shrink :
Only Shrink Larger Images ('>' flag) Another commonly used option is
to restrict IM so that it will only shrink images to fit into the size
given. Never…

pupadupa
- 1,530
- 2
- 17
- 29
0
votes
0 answers
How I can know what is stored in SQL filegroup data/rows?
I am working on cleaning data saved in SQL filegroups monthly , where I delete data for one month and then shrink the data filegroup to save space, noting that filegroup is based on date, each month has its' own filegroup.
But this time after…
0
votes
1 answer
Toggle Bar responsiveness issue
I have written code using bootstrap. But my issue is in the Toggle bar , like when I shrink the size to see my Web page responsive or not then the toggle bar is not open.
It shows the three button but when i click then it is not expanding.
Please…

Zaid Mahmood
- 11
- 1
0
votes
1 answer
Android: How do I resize a ScrollView smaller when the contained TextView is smaller?
I have 2 ScrollView's, each containing a TextView. The second ScrollView is set visibility="gone" normally, and the ScrollView displays full screen.
When a footnote reference in the upper TextView is touched, the specified footnote is loaded and…

Darren Ehlers
- 633
- 6
- 16
0
votes
0 answers
Shrink matplotlib parasite axis horizontally to take up approximately 25% of the image length
I have an image like the one below:
The issue is I need the curves to only take up about 25% - 30% of the image. In other words I need to shrink the size of the two parasite axes horizontally. Is this even possible?
Here is what I have so…

p0ps1c1e
- 176
- 2
- 2
- 14
0
votes
1 answer
How to unkeep or force remove @javax.persistence.Transient annotated methods in JPA entities in ProGuard?
I'm extracting JPA entities into a separate Fat/Uber jar for external system to use.
ProGuard is used through com.github.wvengen:proguard-maven-plugin to shrink all other unused code.
I want to keep all methods in JPA entities except ones annotated…

Sergey Polyakov
- 31
- 7