Questions tagged [grid-layout]
Grid layout is used to align content into columns and fields. Unlike table layouts, grids are composed of guide lines so that elements positioned relative to the grid can have drag and drop behavior.
grid-layout
2,197
questions
0
votes
0
answers
28
views
JPanel and Grid Layout modification
I have been trying to modify the contents of a gridlayouts in a panel i created(Java by the way Ecliplse), but no method ive tried is working this is the code:
// Planning to add about 6 more buttons ...
0
votes
0
answers
24
views
Multiple ResponsiveGridLayout which is connected to each other in the react-grid-layout package with ReactJS
I want to create a A4 size page and user can add block from outside of the page, user can move block within the page and also, user can move block from one page to another page.
Also user can add ...
2
votes
1
answer
78
views
Grid-auto-rows with auto - how controlling the height of the last line?
I need to create a grid container with an unknown number of rows - so that all but the last row occupy the height of the content, and the last row (regardless of the height of the content) occupies ...
0
votes
0
answers
25
views
Grid elements layout [duplicate]
I have view struct created with code below:
struct ElementsView: View {
@State private var selectedElement: String = "First element"
let data: [String] = [
"First ...
0
votes
1
answer
32
views
Trying grid in grid but I am confused how to get it next to eachother
I tried to put the "class additional div" somewhere between the "class div container8" but nothing worked it just stayed under the container.
I got it to work next to each other in ...
0
votes
0
answers
8
views
Line labels on a grid
I've created a simple grid by the following piece of code:
\begin{figure}[h]
\centering
\begin{tikzpicture}
\draw[step=1cm,gray,very thin] (-2,-2) grid (2,1);
\end{tikzpicture}
\caption{A $3 \times 4$ ...
0
votes
1
answer
30
views
QML Grid using SplitView to drag the rows up and down and columns left and right?
I want to eventually create a grid that has 2 rows and 9 columns and then within some of those cells, I want to split those to have different items within them etc.
Here, I have grid that only has 2 ...
0
votes
1
answer
26
views
How to restore a previous state of a GridLayout in Kotlin after screen rotation?
So I am working on an App to keep track of scores in games. The scores are arranged in a GridLayout with playernames on top and the a count for the round number on the side. All information gets ...
0
votes
0
answers
38
views
Calendar view for football league - Lazy VGrid
I'm quite new to SwiftUI and I'm trying to build my first app.
I have a data model file like the one below:
import Foundation
struct CalendarioPartite: Identifiable, Hashable, Equatable {
let id =...
1
vote
1
answer
64
views
restrict .form-text width to input's width
How is it possible to restrict the width of the .form-text based on the width of the above input?
I'd like to layout an <input> in a Bootstrap application with a .form-text for some additional ...
0
votes
0
answers
30
views
Why is my CSS using the fallback over the grid layout even thought the browser supports grid layout?
Before adding a grid fallback, chrome was displaying my grid layout correctly. After I added my fallback it defaults to the fallback regardless of placement of the fallback within my CSS. If I place ...
0
votes
0
answers
25
views
MUI Grid Layout - 2 different layout in Mobile and browser view
I am working on a layout design which will have browser view (aka lg) and mobile view (aka xs). And is there anyway to design the follow layout since I have spend a day but still struggle in build the ...
1
vote
1
answer
46
views
Can't get react to render my css grid layout responsively
I am trying to make a grid for a chess game. 8x8 with 64 squares.
I want the grid to expand and shrink depending on the screen size. I can easily achieve the desired behavior using basic html and a ...
0
votes
1
answer
47
views
<GridLayout Redlined in Android Studio-How to fix
I'm new here so I'm not sure about the depth of this question being appropriate, but I've been working on this Project for weeks and I've got an error I don't know how to fix.
The layout is a Grid. ...
1
vote
1
answer
49
views
Cannot resolve symbol 'GridLayout'
When I try to program a program in Android Studio, I found this error but I did not know how to resolve it
Cannot resolve symbol 'GridLayout'
this error rises up in Android Studio
I search on internet ...