mirror of
https://github.com/polybar/polybar.git
synced 2025-06-02 18:22:03 -04:00
feat(border): Percentage and pixel offset (#1592)
Uses the same X%:Z format as width, height and offset-* Resolves #1567
This commit is contained in:
parent
b728fea5be
commit
46b8bb84ed
3 changed files with 16 additions and 10 deletions
|
@ -32,6 +32,7 @@ vector<pair<double, string>> to_pixels_with_offset_list = {
|
|||
{990, "100%:-10"},
|
||||
{10, "0%:+10"},
|
||||
{1000, "99%:+10"},
|
||||
{0, "1%:-100"},
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(NoOffset, GeomFormatToPixelsTest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue