Domanda

Is there anything like × for maximizing or minimizing?

× outputs an X. Likewise, is there anything built in available for maximize and minimize?

È stato utile?

Soluzione 3

You can use − for minimize(−) and + for maximize(+) like × for ×

Altri suggerimenti

Well, for minimize, we have pure _ or _ and for maximize □. If you are expecting a fancy option for minimize, you can also use ⊟

Demo

× _ □

The above will output × _ □

For more information, you can refer to Character Entity Reference Chart.

Unicode's Miscellaneous Symbols And Pictographs provides some window button glyphs:

🗕︎ 🗖︎ 🗙︎
🗕︎ 🗖︎ 🗙︎

🗕︎ 🗗︎ 🗙︎
🗕︎ 🗗︎ 🗙︎

However, these will not display well on all platforms. You should use SVG if you can.
(Or, include and use a font that specifically defines these.)

The ︎ is to prevent display as emoji. It's not guaranteed tho, and for instance my phone doesn't support it and will show emoji for all four of these glyphs.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top