UI: Increase Color Picker Size #111153

Merged
Harley Acheson merged 3 commits from Harley/blender:ColorPickerSize into main 2023-08-16 22:59:21 +02:00
1 changed files with 5 additions and 6 deletions

View File

@ -343,12 +343,11 @@ static void ui_colorpicker_create_mode_cb(bContext * /*C*/, void *bt1, void * /*
ui_colorpicker_hide_reveal(bt->block, (ePickerType)colormode);
}
#define PICKER_H (7.5f * U.widget_unit)
#define PICKER_W (7.5f * U.widget_unit)
#define PICKER_SPACE (0.3f * U.widget_unit)
#define PICKER_BAR (0.7f * U.widget_unit)
#define PICKER_TOTAL_W (PICKER_W + PICKER_SPACE + PICKER_BAR)
#define PICKER_TOTAL_W (200.0f * UI_SCALE_FAC)
#define PICKER_BAR ((10.0f * UI_SCALE_FAC) + (6 * U.pixelsize))
#define PICKER_SPACE (8.0f * UI_SCALE_FAC)
#define PICKER_W (PICKER_TOTAL_W - PICKER_BAR - PICKER_SPACE)
#define PICKER_H PICKER_W
static void ui_colorpicker_circle(uiBlock *block,
PointerRNA *ptr,