Skip to content

Commit ba4ca2c

Browse files
committed
Allow font resizing in CodeExplorer. Add styles for Font size, Icon size, and Footer text.
1 parent b2bb26b commit ba4ca2c

File tree

2 files changed

+77
-54
lines changed

2 files changed

+77
-54
lines changed

Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,10 @@ private void SwitchNodeState(CodeExplorerItemViewModel node, bool expandedState)
507507
}
508508
}
509509

510-
public ObservableCollection<int> FontSizes { get; } = new ObservableCollection<int> { 10, 12, 14, 16, 18, 20 };
510+
public ObservableCollection<double> FontSizes { get; } = new ObservableCollection<double> { 8, 10, 12, 14, 16 };
511511

512-
private int _fontSize = 10;
513-
public int FontSize
512+
private double _fontSize = 10;
513+
public double FontSize
514514
{
515515
get => _fontSize;
516516
set

0 commit comments

Comments
 (0)