From ed815a31113235890cf6c902c754fb3dc7536708 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 12 Aug 2016 15:46:38 +0200 Subject: [PATCH] * Default.style, Instantiator.cs, MessageBox.goml, ScrollBar.cs, GenericStack.cs, GraphicObject.cs: debug, codeclean, slot height and width test in Paint to prevent surface creation hang * Splitter.cs: splitter debug --- Default.style | 4 +++ Templates/MessageBox.goml | 7 ++-- src/GraphicObjects/GenericStack.cs | 2 +- src/GraphicObjects/GraphicObject.cs | 7 +++- src/GraphicObjects/ScrollBar.cs | 5 --- src/GraphicObjects/Splitter.cs | 52 +++++++++++++++++------------ src/Instantiator.cs | 3 +- 7 files changed, 47 insertions(+), 33 deletions(-) diff --git a/Default.style b/Default.style index 12f5110e..247219d7 100644 --- a/Default.style +++ b/Default.style @@ -50,6 +50,10 @@ Border { ProgressBar { Foreground = vgradient|0:BlueCrayola|0.5:SkyBlue|1:BlueCrayola; } +ScrollBar { + Maximum = 0; + Value = 0; +} Icon { Margin=1; Width=12; diff --git a/Templates/MessageBox.goml b/Templates/MessageBox.goml index f40b5640..e9dc5148 100644 --- a/Templates/MessageBox.goml +++ b/Templates/MessageBox.goml @@ -23,10 +23,9 @@ TextAlignment="Left" Multiline="true" /> - -