diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-10-01 19:37:02 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-10-01 19:37:02 +0200 |
commit | 1570829089615d2cf53b8d7573b5abc0890736aa (patch) | |
tree | 6229b134f21e7a49a317d0645219071bd9f09800 /src/gui | |
parent | 64a9e6782c87d2f265a3b825a11ee94c9e530b3b (diff) | |
download | fpGUI-1570829089615d2cf53b8d7573b5abc0890736aa.tar.xz |
TfpgValueBar: Set default property values.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_colorwheel.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/fpg_colorwheel.pas b/src/gui/fpg_colorwheel.pas index c2282e95..57494818 100644 --- a/src/gui/fpg_colorwheel.pas +++ b/src/gui/fpg_colorwheel.pas @@ -103,8 +103,8 @@ type property Enabled; property Value: double Read FValue Write SetValue; property SelectedColor: TfpgColor Read GetSelectedColor; - property MarginWidth: longint Read FMarginWidth Write SetMarginWidth; - property CursorHeight: longint Read FCursorHeight Write SetCursorHeight; + property MarginWidth: longint Read FMarginWidth Write SetMarginWidth default 5; + property CursorHeight: longint Read FCursorHeight Write SetCursorHeight default 10; property OnChange: TNotifyEvent Read FOnChange Write FOnChange; end; @@ -506,7 +506,7 @@ begin inherited Create(AOwner); FMarginWidth := 5; FValue := 1.0; - Width := 100; + Width := 80; Height := 100; Name := 'ValueBar'; FCursorHeight := 10; |