diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-06-27 12:45:47 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-06-27 12:45:47 +0000 |
commit | eb703bcee1956bcf075a64eaae2756eb7d48ed42 (patch) | |
tree | 856c1aa072a1d243c638bbff163da66bc94e4e2f /src/gui/gui_tab.pas | |
parent | 328be13f54585df2851894ef8f81358fdc27c5cb (diff) | |
download | fpGUI-eb703bcee1956bcf075a64eaae2756eb7d48ed42.tar.xz |
* Introduced a new property to TfpgWidget, called IsContainer for all
components that act like containers (Panel, Form, etc). This optimizes
the Component Alignment calls.
* All resizing calls now get routed through DoUpdateWindowPosition() so
they have a more consistent execution path.
* OnResize now get fired when components get resized, and not just for
Forms.
* HandleAlignments() is now only called when needed.
* Fixed the bug where Alignment didn't work when components are resized
at runtime.
* Removed compiler warnings form gui_mru.pas unit.
* Memo's scrollbar now gets adjusted correctly when it's text
is modified via code.
* Minor bug fix when deleting line in a Memo component. The 'Index out of
Bounds' error still occurs though. That will be fixed shortly.
Diffstat (limited to 'src/gui/gui_tab.pas')
-rw-r--r-- | src/gui/gui_tab.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui_tab.pas b/src/gui/gui_tab.pas index adda9f58..29d3c5dc 100644 --- a/src/gui/gui_tab.pas +++ b/src/gui/gui_tab.pas @@ -200,6 +200,7 @@ begin FFocusable := True; FBackgroundColor := Parent.BackgroundColor; FTextColor := Parent.TextColor; + FIsContainer := True; end; destructor TfpgTabSheet.Destroy; @@ -784,6 +785,7 @@ begin FPages := TList.Create; FWidth := 150; FHeight := 100; + FIsContainer := True; FTextColor := Parent.TextColor; FBackgroundColor := Parent.BackgroundColor; |