Merge pull request #3032 from jlewin/design_tools
Revise slider location
This commit is contained in:
commit
c5057c8177
3 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
buttonRow.AddChild(new HorizontalSpacer());
|
||||
|
||||
// configure button
|
||||
var configureIcon = AggContext.StaticData.LoadIcon("fa-cog_16.png", IconColor.Raw);
|
||||
var configureIcon = AggContext.StaticData.LoadIcon("fa-cog_16.png", IconColor.Theme);
|
||||
configureButton = new IconButton(configureIcon, theme)
|
||||
{
|
||||
ToolTipText = "Configure".Localize(),
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
|
|||
|
||||
toolBarA.AddChild(new VerticalLine(50) { Margin = new BorderDouble(12, 0) });
|
||||
|
||||
toolBarA.AddChild(new TextWidget("Open Existing".Localize() + ":", pointSize: theme.DefaultFontSize)
|
||||
toolBarA.AddChild(new TextWidget("Open Existing".Localize() + ":", textColor: theme.Colors.PrimaryTextColor, pointSize: theme.DefaultFontSize)
|
||||
{
|
||||
VAnchor = VAnchor.Center
|
||||
});
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
VAnchor = VAnchor.Stretch,
|
||||
HAnchor = HAnchor.Right | HAnchor.Absolute,
|
||||
Width = 60,
|
||||
Margin = new BorderDouble(0, 80, 8, 42),
|
||||
Margin = new BorderDouble(0, 4, 4, 4),
|
||||
Maximum = sceneContext.LoadedGCode?.LayerCount ?? 1
|
||||
};
|
||||
view3DWidget.InteractionLayer.AddChild(layerScrollbar);
|
||||
|
|
@ -321,8 +321,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
return;
|
||||
}
|
||||
|
||||
layerRenderRatioSlider.OriginRelativeParent = new Vector2(11, 65);
|
||||
layerRenderRatioSlider.TotalWidthInPixels = view3DWidget.InteractionLayer.Width - 45;
|
||||
layerRenderRatioSlider.OriginRelativeParent = new Vector2(4, 13);
|
||||
layerRenderRatioSlider.TotalWidthInPixels = view3DWidget.InteractionLayer.Width - 32;
|
||||
}
|
||||
|
||||
private double lastPostion = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue