Closed BelousovSL closed 2 months ago
Hi!
I just didn't support Linux)
public static readonly StyledProperty<double> LeftThumbWidthProperty =
AvaloniaProperty.Register<TabsControl, double>(nameof(LeftThumbWidth),
defaultValue: OperatingSystem.IsWindows()
? WindowsDefaultLeftThumbWidth
: MacOsDefaultLeftThumbWidth);
You can override the LeftThumbWidth
parameter for the Tabcontrol
:
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.Find<TabsControl>("TabsControl")!.LeftThumbWidth = OperatingSystem.IsMacOS() ? 80 : 4;
}
}
In the next version, I will correct this point - I will indent it as in Windows.
Yes, that's what I needed. I will try to integrate your control into my project. Thank you.
Hi, thanks for the good control. However, there is one question, I am very new, most likely I am doing something wrong. In the test example, I have a certain unfilled area. I'm attaching a screenshot.
Thank you.