1
0
mirror of synced 2024-11-25 00:00:27 +01:00

Shrink the color picker to a bit more reasonable size

This commit is contained in:
WerWolv 2020-11-24 00:01:44 +01:00
parent 3bd987ff2c
commit fcd88b4b3b

View File

@ -129,6 +129,7 @@ namespace hex {
void ViewTools::drawColorPicker() {
if (ImGui::CollapsingHeader("Color picker")) {
ImGui::SetNextItemWidth(300.0F);
ImGui::ColorPicker4("Color Picker", this->m_pickedColor.data(),
ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_AlphaBar | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHex);
ImGui::NewLine();