Remove border from last item
This commit is contained in:
parent
7f62ce801d
commit
63c414adc4
1 changed files with 7 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
*/
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Localizations;
|
||||
|
|
@ -53,8 +54,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
this.theme = theme;
|
||||
this.printer = printer;
|
||||
|
||||
SectionWidget sectionWidget;
|
||||
|
||||
this.AddChild(
|
||||
new SectionWidget(
|
||||
sectionWidget = new SectionWidget(
|
||||
"Options".Localize(),
|
||||
new GCodeOptionsPanel(sceneContext, printer, theme),
|
||||
theme,
|
||||
|
|
@ -62,8 +65,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Fit,
|
||||
Padding = 0
|
||||
});
|
||||
|
||||
sectionWidget.ContentPanel.Descendants<SettingsRow>().First().Border = 0;
|
||||
|
||||
this.AddChild(
|
||||
loadedGCodeSection = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue