diff --git a/Source/Components/PropertiesPanel.h b/Source/Components/PropertiesPanel.h index f5d11985f..39ffdaa7b 100644 --- a/Source/Components/PropertiesPanel.h +++ b/Source/Components/PropertiesPanel.h @@ -677,6 +677,7 @@ class PropertiesPanel : public Component { addAndMakeVisible(hexValueEditor); hexValueEditor.setJustificationType(Justification::centred); hexValueEditor.setInterceptsMouseClicks(false, true); + hexValueEditor.setFont(Fonts::getCurrentFont().withHeight(13.5f)); hexValueEditor.onEditorShow = [this](){ hexValueEditor.getCurrentTextEditor()->setInputRestrictions(7, "#0123456789ABCDEFabcdef"); diff --git a/Source/Objects/ArrayObject.h b/Source/Objects/ArrayObject.h index 3f097f095..3cfdddaae 100644 --- a/Source/Objects/ArrayObject.h +++ b/Source/Objects/ArrayObject.h @@ -735,7 +735,7 @@ struct ArrayPropertiesPanel : public PropertiesPanelProperty addAndMakeVisible(properties.add(new PropertiesPanel::EditableComponent("Name", graph->name))); addAndMakeVisible(properties.add(new PropertiesPanel::EditableComponent("Size", graph->size))); addAndMakeVisible(properties.add(new PropertiesPanel::RangeComponent("Range", graph->range, false))); - addAndMakeVisible(properties.add(new PropertiesPanel::BoolComponent("Save contents", graph->saveContents, { "No", "Yes" }))); + addAndMakeVisible(properties.add(new PropertiesPanel::InspectorBoolComponent("Save contents", graph->saveContents, { "No", "Yes" }))); addAndMakeVisible(properties.add(new PropertiesPanel::ComboComponent("Draw Style", graph->drawMode, { "Points", "Polygon", "Bezier curve" }))); // To detect name changes, so we can redraw the array title diff --git a/Source/Sidebar/Inspector.h b/Source/Sidebar/Inspector.h index f7d7aeae0..ab4dd04d7 100644 --- a/Source/Sidebar/Inspector.h +++ b/Source/Sidebar/Inspector.h @@ -90,7 +90,7 @@ class Inspector : public Component { Inspector() : redirector(this) { - panel.setTitleHeight(22); + panel.setTitleHeight(23); panel.setTitleAlignment(PropertiesPanel::AlignWithPropertyName); panel.setDrawShadowAndOutline(false); addAndMakeVisible(panel);