Skip to content

Commit

Permalink
🧰: fix font size and padding issues in text control
Browse files Browse the repository at this point in the history
  • Loading branch information
merryman authored and linusha committed Apr 5, 2024
1 parent 20ffc41 commit 3b8389b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion lively.ide/studio/controls/popups.cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,14 @@ export const PaddingControlsDark = component(PaddingControlsLight, {
submorphs: [
{
name: 'padding all',
layout: new TilingLayout({
axisAlign: 'center',
justifySubmorphs: 'spaced',
resizePolicies: [['value', {
height: 'fixed',
width: 'fill'
}]]
}),
borderWidth: 0,
master: DarkNumberWidget,
dropShadow: null,
Expand All @@ -917,7 +925,11 @@ export const PaddingControlsDark = component(PaddingControlsLight, {
lineHeight: 1,
fontColor: Color.rgba(178, 235, 242, 0.4976)
},
{ name: 'value', fontSize: 14 }]
{
name: 'value',
fixedWidth: true,
fontSize: 14
}]
},
{
name: 'multi padding control',
Expand Down Expand Up @@ -977,6 +989,7 @@ export const PaddingControlsDark = component(PaddingControlsLight, {
{
name: 'independent padding toggle',
padding: rect(2, 2),
fontSize: 18, // FIXME: this is incorrectly removed when reconciling, although there are local masters
master: {
auto: PropertyLabel,
hover: PropertyLabelHovered,
Expand Down

0 comments on commit 3b8389b

Please sign in to comment.