Beispiel #1
0
        public CoverageWidget(ILoggingService loggingService, IStatusBar statusBar)
        {
            this.statusBar = statusBar;

            Build();
            SetupCoverageLabels();
            presenter = new CoveragePadPresenter(this, loggingService);

            void SetupCoverageLabels()
            {
                var font = Pango.FontDescription.FromString("Courier 30");

                lineCoverageLabel.ModifyFont(font);
                branchCoverageLabel.ModifyFont(font);
            }
        }