mirror of
https://github.com/labwc/labwc.git
synced 2026-02-11 04:27:51 -05:00
osd: support percent values for window switcher width
Add ability to set width with percentage of monitor instead of just pixels. With this the OSD sizes itself properly on both my 4k and 2k monitors. example: 50% or 75% instead of 600, max 100%
This commit is contained in:
parent
6e7f1b430f
commit
eb5e855b69
5 changed files with 23 additions and 3 deletions
|
|
@ -75,6 +75,7 @@ struct theme {
|
|||
int osd_window_switcher_item_padding_x;
|
||||
int osd_window_switcher_item_padding_y;
|
||||
int osd_window_switcher_item_active_border_width;
|
||||
bool osd_window_switcher_width_is_percent;
|
||||
|
||||
int osd_workspace_switcher_boxes_width;
|
||||
int osd_workspace_switcher_boxes_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue