Skip to main content
Filter by
Sorted by
Tagged with
6 votes
2 answers
181 views

I'm using the Stringzilla string library, which is supposed to be close to how std::string operates. It has a flag called SZ_USE_MISALIGNED_LOADS. By default it sets it to on, and it looks like this: /...
Zebrafish's user avatar
  • 16.3k
2 votes
2 answers
167 views

I'm currently making a website and I want to include these buttons, as I have them in my design: Screenshot of website design They are all of the same size, equally spaced out and centred across the ...
RRS's user avatar
  • 23
1 vote
0 answers
118 views

I have a PrimeReact DataTable with multiple columns. Each column has a text header, optionally with sort and filter options. Alignment of the columns can differ, and I would like the alignment of the ...
Patrick Losser's user avatar
-1 votes
1 answer
64 views

I need a textarea field containing label inside the textarea field. The input text will start from the end of the label. If the label is so long, it will go to the second line. According to device ...
MIH10's user avatar
  • 29
1 vote
0 answers
37 views

So, I am making an App in Go using Go bindings for gtk3 by gotk3 and want that this window should be opened at a certain coordinate on the screen (as an example, take 500,500). I have tried using win....
Ayush Gupta's user avatar
0 votes
1 answer
86 views

There is a parent div with two child divs inside. Each of them contents some text. We know min-height of inner elements, also min-height of parent is known. We don't know parent's height, also we don'...
Krechet USA's user avatar
-4 votes
1 answer
101 views

Similar to Remove all padding and margin table HTML and CSS, but not the same: I'm using a table to align labels with input elements. Also that table is used within another element, and whatever I ...
U. Windl's user avatar
  • 4,738
0 votes
1 answer
93 views

int8_t *const a = static_cast<int8_t*>(__builtin_assume_aligned(aligned_alloc(64, (sizeof(int8_t) * n + 63) / 64 * 64), 64)); Let's say I need to use the pointer in the same scope (not passed ...
JS0's user avatar
  • 99
-1 votes
1 answer
74 views

I'm having difficulty with aligning data in excel while using a macro. The data in wb1 is for example like this: Thomas 10 Jason 11 (blank) (blank) Clara 14 The data in wb2 is for ...
Someone EL's user avatar
1 vote
2 answers
98 views

How can I place the icon after the text of a QPushButton in PyQt5? The icon should not come before the text - it should come after or below the text. Currently it's looking like this: but it should ...
LeviAckerman's user avatar
6 votes
2 answers
75 views

div { display: inline-block; background: gray; text-align: justify; word-break: break-all; } <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed eiusmod tempor incidunt ut ...
finefoot's user avatar
  • 11.6k
0 votes
1 answer
41 views

I am currently editing a probably 20 year old GridEX in my company's code base, but I encountered the following issue: When I want to group my rows, the group itself seems to have some kind of padding ...
JoniKauf's user avatar
  • 346
0 votes
2 answers
64 views

I am creating a one-page application that has a few elements. In general, the top left part of the page should show an image, and to its right should be a table (along with another item called "...
Dennis 's user avatar
  • 1,268
1 vote
1 answer
75 views

Does the following violate strict aliasing rule in C? #include <stdint.h> #include <stdio.h> #include <stdlib.h> int ialignment_of(double *p) { return (int)(((uintptr_t) p) % ...
Aditya Kurrodu's user avatar
4 votes
1 answer
138 views

Consider the following code (godbolt link): #include <format> #include <iostream> #pragma pack(push) #pragma pack(1) struct A { long l; int n; char c; }; #pragma pack(pop) ...
xmllmx's user avatar
  • 44.6k
0 votes
0 answers
138 views

I am developing a custom Angular component for a radio button with specific design requirements: Outer circle size: Fixed at 16px x 16px. Inner circle size (checked state): Fixed at 8px x 8px. The ...
Fenix Fanel's user avatar
0 votes
1 answer
50 views

How can I align a single vertical card in Flutter so that it has the same height as the other four cards? Additionally, the four other cards should have equal heights among themselves. By "same ...
enes durmuş's user avatar
0 votes
1 answer
35 views

Having a dimple.js line plot to compare time series for several years, my plot uses a TimeAxis on x, with one tick per month. var x = myLinePlot.addTimeAxis("x", "month_day"); I ...
OuzoPower's user avatar
  • 278
2 votes
1 answer
95 views

Say I have a struct named Particle and I would like it to be aligned by 32bits, should I use the alignas keyword when I specify the struct definition, like code below: struct alignas(32) Particle { ...
PkDrew's user avatar
  • 2,281
1 vote
0 answers
84 views

I was optimizing some C language codes and realized a weird thing. I noticed a piece of useless code (not being used by any parts) and deleted it. But the performance went down by around 4%, which is ...
Tall's user avatar
  • 123
0 votes
0 answers
48 views

Sory for my poor english i'm speeking french. I'm starting dev on python and i try to use Tkinter for programming my GUI then, i've some troubles with the alignement of some colums in my python app ...
CodeOrion's user avatar
1 vote
1 answer
45 views

I have 2x2 grid of axes in one figure that I want to be aligned with zero offset to ideal rectangle. Unfortunatelly I also need to use ax.set_aspect("equal") which seem to cause a lot of ...
Galedon's user avatar
  • 398
0 votes
3 answers
536 views

Is there a way to align/position an <Image/> within its display area using Aspect="AspectFill" in .NET MAUI 8, or is there a workaround that produces the same visual result? I'm trying ...
user avatar
0 votes
1 answer
53 views

I have recently started using html in order to create a website for my project. I have planned on making this website that contains the intro page, that has a button, revealing further contents. This ...
Srijan Singh's user avatar
1 vote
0 answers
54 views

I am using jsPDF in a project and mostly have things working as expected. If, however, I decide to change the default character spacing to any non-zero value, centering gets thrown off by the ...
denkom's user avatar
  • 61

1
2 3 4 5
176