From aa32053be374a2fb68319ac70983d902630f3d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 25 Sep 2010 15:30:23 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Method signature can be displayed on several lines if needed. git-svn-id: svn://localhost/gambas/trunk@3241 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.icon.png | Bin 4247 -> 4263 bytes app/src/gambas3/.project | 1 - .../gambas3/.src/Editor/Code/FSignature.class | 5 +++-- .../gambas3/.src/Editor/Code/FSignature.form | 4 ---- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/src/gambas3/.icon.png b/app/src/gambas3/.icon.png index 182d5f8e99977ba4b1bf936ae072ccc1543d66ff..83d5e4e4a719e05f799b65b20918932fb2bb032a 100644 GIT binary patch delta 24 ecmbQPxLk393NK5slV=DA5Y%v_bZk^C6952HI|hIN delta 10 RcmZ3kI9+jq%0`o70RR=k1DyZ> diff --git a/app/src/gambas3/.project b/app/src/gambas3/.project index 1839692e7..9750db8b0 100644 --- a/app/src/gambas3/.project +++ b/app/src/gambas3/.project @@ -22,7 +22,6 @@ Component=gb.qt4.ext Component=gb.qt4.webkit Description="Integrated Development Environment for Gambas" Authors="Benoît Minisini\nFabien Bodard\nCharlie Reinl\nJosé Luis Redrejo\nRobert Rowe" -Environment="GB_STOCK_DEBUGGB_STOCK_DEBUG=1" TabSize=2 Translate=1 Language=en diff --git a/app/src/gambas3/.src/Editor/Code/FSignature.class b/app/src/gambas3/.src/Editor/Code/FSignature.class index 29e457ae8..87516094b 100644 --- a/app/src/gambas3/.src/Editor/Code/FSignature.class +++ b/app/src/gambas3/.src/Editor/Code/FSignature.class @@ -19,6 +19,7 @@ Private Sub UpdateSignature(Optional hForm As FEditor) Dim hCont As Container Dim sIcon As String + panSignature.H = lblNewSignature.H + 4 If $bShowHelp And $bUseHelp Then MHelp.InitWebViewWith(webHelp, MHelp.TYPE_SYMBOL, $hSymbol.Name, $hSymbol.Class, "noimage") sepHelp.Show @@ -32,9 +33,9 @@ Private Sub UpdateSignature(Optional hForm As FEditor) panHelp.Hide panRight.Hide If hForm Then - Me.Resize(lblNewSignature.W + 2 + If($bUseHelp, btnHelp.W + panRight.W, 0), lblSignature.H + 2) + Me.Resize(lblNewSignature.W + 4 + If($bUseHelp, btnHelp.W + panRight.W, 0), lblNewSignature.H + 6) Else - Me.H = lblSignature.H + 2 + Me.H = lblNewSignature.H + 6 Endif Endif diff --git a/app/src/gambas3/.src/Editor/Code/FSignature.form b/app/src/gambas3/.src/Editor/Code/FSignature.form index aa7a8d998..840970473 100644 --- a/app/src/gambas3/.src/Editor/Code/FSignature.form +++ b/app/src/gambas3/.src/Editor/Code/FSignature.form @@ -18,12 +18,10 @@ Foreground = &H000000& Expand = True Padding = 2 - Alignment = Align.Normal } { btnHelp ToolButton MoveScaled(30,0,4,4) Background = Color.TextBackground - Border = True } } { sepHelp Separator @@ -61,8 +59,6 @@ Visible = False Foreground = &H000000& Ignore = True - Padding = 2 - Alignment = Align.Normal } } }