* add padding setting * `=` instead of `:` Co-Authored-By: fauzie811 <fauzie811@yahoo.com> * call setPadding in createTerminal function * Add "px" suffix to padding slider tooltip Based on this tutorial: https://www.codeproject.com/Tips/715438/Slider-Thumb-Tooltip * term.fit() after setPadding() * move back term.fit() below term.open() * Changed max value, added throttling, moved converter
25 lines
568 B
C#
25 lines
568 B
C#
using FluentTerminal.Models.Enums;
|
|
|
|
namespace FluentTerminal.Models
|
|
{
|
|
public class TerminalOptions
|
|
{
|
|
public string FontFamily { get; set; }
|
|
|
|
public int FontSize { get; set; }
|
|
|
|
public CursorStyle CursorStyle { get; set; }
|
|
|
|
public bool CursorBlink { get; set; }
|
|
|
|
public BellStyle BellStyle { get; set; }
|
|
|
|
public ScrollBarStyle ScrollBarStyle { get; set; }
|
|
|
|
public double BackgroundOpacity { get; set; }
|
|
|
|
public int Padding { get; set; }
|
|
|
|
public uint ScrollBackLimit { get; set; }
|
|
}
|
|
} |