Questions tagged [flat]

A flat style means a leveled, even, bi-dimensional style of UI components. The UI will result in something which doesn't have a 3D look (i.e. without glosses or reflections and without shadows).

A flat style means a leveled, even, bidimensional style of UI components. The UI will result in something which doesn't have a 3D look (i.e. without glosses or reflections and witout shadows).

228 questions
80
votes
11 answers

.flat() is not a function, what's wrong?

The following code function steamrollArray(arr) { // I'm a steamroller, baby return arr.flat(); } steamrollArray([1, [2], [3, [[4]]]]); returns arr.flat is not a function I tried it in Firefox and Chrome v67 and the same result has…
TechnoKnight
  • 961
  • 1
  • 6
  • 9
55
votes
14 answers

Build a tree from a flat array in PHP

I've looked around the internet and haven't quite found what I'm looking for. I have a flat array with each element containing an 'id' and a 'parent_id'. Each element will only have ONE parent, but may have multiple children. If the parent_id = 0,…
DSkinner
  • 593
  • 1
  • 4
  • 7
26
votes
6 answers

Create flat button in WPF

How to make a button flat style in wpf? I've tried BasedOn property but it does not work.
niao
  • 4,972
  • 19
  • 66
  • 114
20
votes
2 answers

Segmented Memory vs Flat Memory

I just don't get it. Any manual is too technical. What are flat and segmented memory? Ways of addressing a memory, ways of organizing bytes in memory? Which of them is best for 32-bit computers? Can anybody explain it? What does real-mode and…
ali
  • 10,927
  • 20
  • 89
  • 138
16
votes
1 answer

SSIS Flat Files with Variable Column Numbers

SSIS does 2 things in relation to handling flat files which are particularly frustrating, and it seems there should be a way around them, but I can't figure it out. If you define a flat file with 10 columns, tab delimited with CRLF as the end of row…
Glenn M
  • 455
  • 2
  • 8
  • 16
9
votes
2 answers

Flat QPushButton, background-color doesn't work

I created QPushButton in Qt Designer with this stylesheet: QPushButton#pushButton { background-color: #ffffff; } QPushButton#pushButton:disabled { background-color: yellow; } QPushButton#pushButton:pressed { background-color: orange;…
tomsk
  • 967
  • 2
  • 13
  • 29
9
votes
2 answers

Can I create border-bottom without diagonal corner?

I want to create a box with different color, left,right and top color red and bottom color is grey but I want flat bottom-border of box HTML
CSS .ts { height:100px; width:100px; border-width:10px 10px 20px…
midstack
  • 2,105
  • 7
  • 44
  • 73
9
votes
9 answers

why won't this css button center inside div?

So... this is starting to annoy me ... and I thought i would come here and get some help.. The main div around the box has a width... then there is text... and a button that i want in the center of the div.. it is a button.. but it wont…
op1001
  • 348
  • 2
  • 8
  • 15
8
votes
2 answers

How do I create a Flat combo box using WPF?

Hi I want to create a flat combo box with wpf. Acctually I have already done it but when the mouse is over the combo box it returns to its old style. I have this xaml code: