diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-10-17 22:06:46 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-10-17 22:06:46 +0000 |
commit | 22184fac6d8e34baf30f08b0119fc251c025e42a (patch) | |
tree | eb1edcf1145f109ffca47cbc98e2931f8cacafb2 /src/gui | |
parent | f0bb55b50a3f9caa154706fe7caea348e32f6865 (diff) | |
download | fpGUI-22184fac6d8e34baf30f08b0119fc251c025e42a.tar.xz |
* Fixed a ComboBox clipping issue where long text would paint over the internal button.
* Base Dialog now has a better min width and height set.
* FileDialog example's form is now maintained by the UI Designer.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui_combobox.pas | 1 | ||||
-rw-r--r-- | src/gui/gui_dialogs.pas | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui_combobox.pas b/src/gui/gui_combobox.pas index a199aca8..212b41ad 100644 --- a/src/gui/gui_combobox.pas +++ b/src/gui/gui_combobox.pas @@ -402,6 +402,7 @@ begin PaintInternalButton; Dec(r.Width, FInternalBtnRect.Width); + Canvas.SetClipRect(r); Canvas.SetFont(Font); if Focused then diff --git a/src/gui/gui_dialogs.pas b/src/gui/gui_dialogs.pas index 205676d5..1c8cdb31 100644 --- a/src/gui/gui_dialogs.pas +++ b/src/gui/gui_dialogs.pas @@ -383,6 +383,8 @@ begin {TODO: We need to localize this dialog } Width := 500; Height := 400; + MinWidth := 300; + MinHeight := 300; WindowPosition := wpScreenCenter; FSpacing := 6; FDefaultButtonWidth := 80; |