Made fixed width and height in button factory doubles.
This commit is contained in:
parent
9bbd272467
commit
c9ffc3eb98
6 changed files with 11 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue