Skip to main content
0 votes
0 answers
13 views

XAML HorizontalAlignment="Stretch" works in editor but not in program

I'm setting up the UI (WPF) for an app and I am having a weird problem with a list view. Each "item" in the list view is a small block, which I would like to be resizable with the window ...
Dion's user avatar
  • 25
0 votes
2 answers
56 views

Custom TabBar with center rounded button SwiftUI

Here is what I am trying to do: The screenshot is taken from a 14 iPhone. I want to manage the layout like the first image, where all the spacing and circle spacing are reduced. How can I achieve ...
Sham Dhiman's user avatar
  • 1,546
0 votes
1 answer
31 views

Android Compose - how to match the height of composables side-by-side centered in a Box

I have 2 composables centered vertically in a Row, centered in a Box. The left side of the box is generated, an can be any height. The problem is that the right side height is never stretched to the ...
LGstudio's user avatar
  • 115
1 vote
1 answer
49 views

Layout completely different in firefox and chromium based browsers

I am working on a website for a school project and I noticed that the layout I created and tested in chromium based browsers is completely broken when view in firefox. The first issue seems to be with ...
0324bence's user avatar
0 votes
1 answer
60 views

How to create "constraint like" layout in SwiftUI

Coming from UIKit I find it struggling to achieve desired results in SwiftUI. I assume I am to caught in the constraint driven layout to get my head around the SwiftUI approach. Assume the following ...
Andrei Herford's user avatar
0 votes
1 answer
22 views

Using R layout to resize and center first row

I am trying to create a plot in R with three panels using the layout function. If I use e.g. layout = layout(matrix(c(1,1,2,3),2,2,byrow=TRUE) layout = plot(x1,y1,main="Fig 1A") layout = ...
Max's user avatar
  • 571
1 vote
0 answers
78 views

How to Create a Calendar Grid in SwiftUI Where Each Month Has Correct Number of Days and Empty Cells for Invalid Dates?

I am trying to create a dynamic calendar in SwiftUI, where I display each month with the correct number of days, starting from the correct weekday (e.g., December 1st should be under Thursday). The ...
Nick's user avatar
  • 11
0 votes
0 answers
24 views

AnimatePresence not respecting layout animation in framer motion

I am trying to create a dynamic layout with framer motion in Next.js. As you can see in the GIF below, AnimatePresence does not respect layout changes but rather fades out the elements in the same ...
RD4's user avatar
  • 145
1 vote
1 answer
45 views

How to layout 2 widgets, one on top of the other in Flutter Stack?

I have a CustomPaint that paints an image with a certain width and height. I want to create a semitransparent overlay widget which will hold stickers on top of the CustomePaint widget. How can I ...
jdevp2's user avatar
  • 653
0 votes
0 answers
41 views

How to properly use autosized columns and auto-flow in CSS grid?

I have relatively simple markup of up to five elements. Three of the elements are mandatory and always exist, rest are optional. <div class="container"> <div class="item-1 ...
Mr. Hedgehog's user avatar
  • 2,885
0 votes
2 answers
69 views

SwiftUI aligning a view by percentage

Using SwiftUI, I have a rectangle that takes up a percentage of the device's width, with an inner rectangle in an overlay. struct ContentView: View { var body: some View { Rectangle() ...
coco's user avatar
  • 3,116
1 vote
1 answer
33 views

Gallery Overlapping Other DOM Elements - Need Help Fixing Layout

enter image description here I'm currently working on a project where I have a gallery implemented as a slider (.slider and .slides). However, I'm facing an issue where the gallery is overlapping ...
Cleopatra's user avatar
1 vote
1 answer
119 views
+200

Programmatically creating widgets during the performlayout function of a render object in flutter?

I am trying to build a custom version of a column (call it CustomColumn) that lays out the children lazily, similar to what a ListView would do but with more control on how exactly they are laid out. ...
Fabrizio's user avatar
  • 1,052
-1 votes
0 answers
23 views

Page breaks when zooming in

My website is displayed as intended at 100% zoom + when zoomed out. However, a problem occurs once you zoom in. It initially looks fine, but after navigating to the right side of the page, all the ...
Adrian Machava's user avatar
-1 votes
4 answers
85 views

How to select an <em> html element that is Not a child of any <p> element? [closed]

/* CSS */ em {font-style: italic; background yellow} ::autonomous-not-child-of-a-p-element-? :: em {font-style:normal; background gray} Given two situations both using <em> differently, in need ...
Sam's user avatar
  • 15.5k

15 30 50 per page
1
2 3 4 5
1798