diff options
| author | Arkady Buryakov <arkady@buryakov.pro> | 2025-04-02 23:26:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 22:26:46 +0200 |
| commit | a41b8d5e977a7382bce3de251a3a014ae7b3c625 (patch) | |
| tree | bd5a20d658b23a5837e2c62dd3f469d89b590374 /src/config/ConfigDescriptions.hpp | |
| parent | 8654029f8662d388eefa65711a2fda360d2aa73f (diff) | |
groupbar: add text offset and upper gap settings (#9733)
* Groupbar: add keep_upper_gap setting to apply/remove outer gap offset to the upper side of groupbar
* Groupbar: add text_offset setting to adjust text vertical position in a group header
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 234c3743..e7266940 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1011,6 +1011,18 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { .type = CONFIG_OPTION_INT, .data = SConfigOptionDescription::SRangeData{2, 0, 20}, }, + SConfigOptionDescription{ + .value = "group:groupbar:keep_upper_gap", + .description = "keep an upper gap above gradient", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SBoolData{true}, + }, + SConfigOptionDescription{ + .value = "group:groupbar:text_offset", + .description = "set an offset for a text", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SRangeData{0, -20, 20}, + }, /* * misc: |
