grid-layout Questions
8
Is there a way to force all the items in the last row, of a grid, to fill the row, no matter how many they are?
I do not know the number of items that will be in the grid so I cannot target them d...
Thorium asked 25/1, 2019 at 18:18
4
I'd like to use CSS Grid. Something like this I think…
html {
height: 100%;
}
body {
min-height: 100%;
display: grid;
grid-template-rows: auto auto [whatever's left of the vh] auto auto;
pos...
Cuneiform asked 26/4, 2018 at 13:7
3
Solved
I use the GridLayout for my JPanel and was wondering, if it's possible to change the width of the columns:
GridLayout grid = new GridLayout(5,2);
panel.setLayout(grid);
Is there a simple way?
Rarefy asked 26/4, 2012 at 11:37
37
Solved
I have a simple flex-box layout with a container like:
.grid {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
Now I want the items in the last row to be aligned with th...
Bagwell asked 11/9, 2013 at 14:37
2
Solved
I have three columns and one row and I want to place each grid-element into one of the three resulting cells. This is what I want, using three container-elements:
main {
display: grid;
gri...
Wahhabi asked 23/7, 2017 at 11:3
4
Solved
I'm trying to achieve a flexbox layout with just one flex-grow element and a variable number of smaller elements around it. I need a gap between the elements that's a fixed width - exactly one pixe...
Protract asked 3/2, 2018 at 19:37
4
Solved
I have a CSS Grid Layout in which I want to make some (middle 3) rows stretch to their maximum size. I'm probably looking for a property similar to what flex-grow: 1 does with Flexbox but I can't s...
Resoluble asked 29/1, 2017 at 1:25
3
Solved
I've created a grid layout following the newest CSS Grid spec, but am not completely familiar with it yet. I'm trying to create the following layout without having to define grid areas for each gri...
Dibbell asked 7/6, 2017 at 0:28
3
Solved
With seaborn.PairGrid is there a way to show the axes tick-labels for each subplot? (an equivalent to sharex=False, sharey=False in case of seaborn.FacetGrid)
import pandas as pd
import numpy as n...
Butadiene asked 18/6, 2015 at 16:43
3
Solved
Although I have not yet been able to find an answer, the question is simple: Is there a way, other than brute force, to count the number of columns in a responsive grid?
#grid-container {
width: ...
Guarded asked 17/3, 2019 at 5:43
5
Solved
I'm trying to make a small 'Item added' popup dialog on material-ui using it's Grid system. But i can't figure out how to add offset to the Grid. I'm trying to achieve something similar to Bootstra...
Polyphagia asked 25/9, 2020 at 18:37
3
So I am creating a web page, where the menus on the left hand side are fixed (They follow you when you scroll up and down the page). I am currently using The Grid layout: Foundation (by zurb) http:...
Phial asked 29/2, 2012 at 0:40
6
Solved
I made a color palette with a jPanel and a JLabel array in it. At first it worked well, but then i put some other jLabels out of the JPanel and added them some events. Now I keep getting this error...
Finzer asked 26/11, 2012 at 23:54
6
Solved
I have a GridLayout with 5 columns and 3 rows. Now I can insert arbitrary child views, which is great. Even better is, that I can assign columnSpan=2 to some item in order to span it to 2 columns (...
Must asked 23/11, 2012 at 15:38
3
I have a problem using GridLayout using library compatibility (not tried without). I am using app:layout_gravity="fill_horizontal" instead of android:layout_gravity="fill_horizontal" but all the co...
Knut asked 2/9, 2012 at 21:42
2
Solved
I have this grid CSS
.grid {
display: grid;
grid-column-gap: 50px;
grid-template-columns: repeat(3, 1fr);
}
which is sitting in a div with width: 500px
but I noticed that the first item in the ...
Popedom asked 19/1, 2022 at 12:15
4
I am using grid() to place widgets in a tkinter window. I am trying to put a label on the horizontal center of a window and have it stay there, even if the window is resized. How could I go about d...
Belgae asked 9/10, 2015 at 20:39
3
Solved
I am trying to get a 2x6 (WxH) GridLayout in my Kotlin Android application. I have my xml and fragment / adapter set up for a RecyclerView but am a bit at a loss for as how to apply a GridLayout to...
Mcdowell asked 28/8, 2017 at 20:42
7
Solved
I am studying a java tutorial and saw that the way to find the x/y indexes of a JButton inside a GridLayout is to traverse a bidimensional array of buttons b which is associated to the layout and c...
Sporadic asked 9/10, 2011 at 9:55
3
Solved
I have a JTabbedPane with 2 JPanels set to GridLayout(13, 11). The first JPanel has enough of the cells filled out that it leaves the empty cells.
The second JPanel has significantly fewer cells...
Orange asked 2/2, 2014 at 20:50
7
I have created a grid containing full of texts. I want the text to auto-fit according to screen size. I have tried the following code,
DisplayMetrics displayMetrics = context.getResources().getDi...
Lely asked 11/9, 2016 at 12:30
2
Solved
I am using react-grid-layout to make drag-drop and resize components, So i am able to achieve the functionality as mentioned in the doc.
My Issue
I am creating dynamic UI so I am rendering my UI w...
Sprague asked 2/3, 2021 at 11:56
5
Solved
I'm wondering how I would go about creating a layout with responsive squares. Each square would have vertically and horizontally aligned content. The specific example is displayed below...
Soraya asked 8/12, 2013 at 17:44
7
Solved
I use Bootstrap 3 for a web page that is created using PHP and HTML.
With the responsive grid and classes on Bootstrap 3 you can assign multiple classes to a div to define different widths dependi...
Hounding asked 11/9, 2014 at 9:23
2
Solved
Would it be possible to achieve the attached grid in bootstrap? Each of the squares would probably be an image... or perhaps text!
I've had a go, but hit a wall when it comes to the top-left box f...
Amaranthaceous asked 5/6, 2014 at 12:50
1 Next >
© 2022 - 2025 — McMap. All rights reserved.