Questions tagged [display]

Display refers to a style property in CSS. Common values include - but are not limited to - block, inline-block, inline, table, flex, none.

The CSS display property is specified using keyword values. Keyword values are grouped into six value categories:

.element {
  display:  [ <display-outside> | <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> ;
}
2923 questions
8
votes
1 answer

Activity displays incorrect when launched on a secondary virtualdisplay

In my scenario, I want to mirror another app in my app. I use DisplayManager to createVirtualDisplay for my SurfaceView. Then I set DisplayId as this VirtualDisplay in AcitivityOptions when I start activity. By this process, another app can be…
recnac
  • 3,744
  • 6
  • 24
  • 46
8
votes
1 answer

How can I display a large matrix without the word "Columns" appearing?

I want to display a large matrix, but I don't like the words "Columns x to y" to show. How can I do this?
Yebac
  • 179
  • 1
  • 2
  • 3
8
votes
3 answers

Hidding SVG affects other SVG styles in the same page

An SVG is loaded several times in the same page. The SVG is used to show a graphic representation of values. Think of a map where every region shows a given value using a color code. In each SVG, for every region a CSS class is dynamically applied…
David Casillas
  • 1,801
  • 1
  • 29
  • 57
8
votes
10 answers

How do I keep my input fields on one line while centering the DIV that contains them?

I gave this CSS class to some input fields .searchField { display: inline-block; } This is their underlying HTML ...
Search For Results
user6447029
7
votes
2 answers

Responsive HTML Table While Avoiding Display Block

I have a table style that renders fine when its given enough space: However, when the width of the parent container is not wide enough the table is hidden: I can fix this by adding display: block on the table. This will add a horizontal…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
7
votes
1 answer

How can I control the display of a double matrix in MATLAB?

How can I change the format to NOT display a matrix like this: 1.0e+003 * 3.1251 0 0 0 0 0 0 0 0 0 0 3.1251 0 0 0 0 0 0…
tim
  • 9,896
  • 20
  • 81
  • 137
7
votes
3 answers

rdkit: How to show molecular's atoms number

Hello1 I was trying to use rdkit pack to finish the work of displaying the molecular's atom numbers in Jupyter Notebook ,"import IPython.core.interactiveshell" and "import InteractiveShell" ,and "from rdkit.Chem.Draw import DrawingOptions"…
jFang
  • 71
  • 1
  • 3
7
votes
4 answers

ESP32 direct port manipulation

Dear StackOverflowers, I am trying to use HX8357D 3.5" TFT from Adafruit (link) with an esp32. The TFT driver has two interfaces: SPI and 8-bit parallel. The provided library from Adafruit (link) only supports SPI on the esp32. I need to have higher…
Daan van Driel
  • 165
  • 1
  • 2
  • 9
7
votes
1 answer

Xorg increase virtual screen size past 8192 x 8192

I have one 4K monitor (3840 x 2160) and two QHD monitors (2560 x 1440) and I want to have them side by side. This is currently not possible though, since the horizontal virtual resolution required for this is 8960 pixels (3840+2560+2560) but the…
7
votes
3 answers

Android-O launch on secondary display

The new ActivityOptions setLaunchDisplayId (int launchDisplayId) function in Android-O seems to always crash my app when I try to launch an activity intent. Both when I launch activities from my own app and when I try to launch other apps i.e.…
Smiler
  • 1,316
  • 4
  • 12
  • 18
7
votes
3 answers

Is there a way to hide a displayed object using IPython?

I am using the IPython module in a Jupyter Notebook. I am using the display module to display buttons. from ipywidgets import widgets import IPython.display as dsply def click_reset(b): print("reset domains button") …
GreySage
  • 1,153
  • 19
  • 39
6
votes
2 answers

Julia: which environment variable/setting controls the number of elements printed for an array in the repl?

When I print rand(1_000_000) It prints the first N lines and prints the last N lines. How is this N determined and how do I control this N?
xiaodai
  • 14,889
  • 18
  • 76
  • 140
6
votes
3 answers

Is it possible to vertically align text in a div with `display: -webkit-box;`

I'm working with a div which has the following css attribute assigned to it: display: -webkit-box;. This div of mine contains text which I'd like to align vertically to the middle. Is this possible without changing the display attribute given to the…
Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
6
votes
1 answer

How can I display the current url in swagger ui?

I would like to display the current url, eg.: https://{hostname}/{pathname}..., where I am running the swagger ui on instead of a hardcoded relative path, accordingly. Is there any possible solution to do so at least to get the current hostname?…
pink_panda
  • 100
  • 1
  • 6
6
votes
1 answer

How to move all open Notepad++ files in all views into one single view?

The Issue When you have Chrome browser open, if you have many different "windows" (as in "open in new window" vs "open in new tab") open, as I often do, it is useful to be able to join them all into one single window, leaving each tab intact. I use…