Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale. Created a DeviceMargin and DevicePadding on GuiWidget Deleted dead code Made many images have default larger disk sizes and scale in memory. Made the menus have horizontal spacers rather than dashed lines
This commit is contained in:
parent
a225e69513
commit
b51b38b249
62 changed files with 223 additions and 184 deletions
|
|
@ -35,8 +35,8 @@ namespace MatterHackers.MatterControl
|
|||
public class ThemeColorSelectorWidget : FlowLayoutWidget
|
||||
{
|
||||
private GuiWidget colorToChangeTo;
|
||||
private int containerHeight = 34;
|
||||
private int colorSelectSize = 32;
|
||||
private int containerHeight = (int)(34 * GuiWidget.DeviceScale + .5);
|
||||
private int colorSelectSize = (int)(32 * GuiWidget.DeviceScale + .5);
|
||||
|
||||
public ThemeColorSelectorWidget(GuiWidget colorToChangeTo)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue