mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
Painter: Add text elision support (only right-hand side supported.)
Some window titles didn't fit on the taskbar buttons, so I needed a way to collapse the remaining part of the text into "..."
This commit is contained in:
parent
ce7341be87
commit
4533539e8a
5 changed files with 56 additions and 15 deletions
7
SharedGraphics/TextElision.h
Normal file
7
SharedGraphics/TextElision.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
enum class TextElision {
|
||||
None,
|
||||
Right,
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue