Made fixed width and height in button factory doubles.

This commit is contained in:
larsbrubaker 2014-08-30 13:28:13 -07:00
parent 9bbd272467
commit c9ffc3eb98
6 changed files with 11 additions and 8 deletions

View file

@ -350,7 +350,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void AddModelInfo(FlowLayoutWidget buttonPanel)
{
int oldWidth = textImageButtonFactory.FixedWidth;
double oldWidth = textImageButtonFactory.FixedWidth;
textImageButtonFactory.FixedWidth = 44;
FlowLayoutWidget modelInfoContainer = new FlowLayoutWidget(FlowDirection.TopToBottom);
@ -445,7 +445,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void AddLayerInfo(FlowLayoutWidget buttonPanel)
{
int oldWidth = textImageButtonFactory.FixedWidth;
double oldWidth = textImageButtonFactory.FixedWidth;
textImageButtonFactory.FixedWidth = 44;
FlowLayoutWidget layerInfoContainer = new FlowLayoutWidget(FlowDirection.TopToBottom);
@ -469,7 +469,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void AddDisplayControls(FlowLayoutWidget buttonPanel)
{
int oldWidth = textImageButtonFactory.FixedWidth;
double oldWidth = textImageButtonFactory.FixedWidth;
textImageButtonFactory.FixedWidth = 44;
FlowLayoutWidget layerInfoContainer = new FlowLayoutWidget(FlowDirection.TopToBottom);