Adjust popup menu line colors, icon placement
This commit is contained in:
parent
bc5852f524
commit
50ffe5b6e7
1 changed files with 3 additions and 3 deletions
|
|
@ -56,9 +56,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
public HorizontalLine CreateHorizontalLine()
|
||||
{
|
||||
var line = new HorizontalLine(30)
|
||||
var line = new HorizontalLine(40)
|
||||
{
|
||||
Margin = new BorderDouble(PopupMenu.GutterWidth - 5, 2, 5, 2)
|
||||
Margin = new BorderDouble(PopupMenu.GutterWidth - 8, 1, 8, 1)
|
||||
};
|
||||
|
||||
this.AddChild(line);
|
||||
|
|
@ -136,7 +136,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
if (this.Image != null)
|
||||
{
|
||||
var x = this.Image.Width / 2 - PopupMenu.GutterWidth;
|
||||
var x = this.Image.Width / 2 - PopupMenu.GutterWidth + 2;
|
||||
var y = this.Size.Y / 2 - this.Image.Height / 2;
|
||||
|
||||
graphics2D.Render(this.Image, x, y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue