Commit Graph

97 Commits

Author SHA1 Message Date
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
cd53b71424 LCL: TLabel: empty text autosize to 1,1
git-svn-id: trunk@24976 -
2010-04-26 17:17:20 +00:00
paul
a47badd924 lcl: fix TLabel autosize when ShowAccelChars = False and label contains ampersands (based on patch of Bart) (bug #0015731)
git-svn-id: trunk@24944 -
2010-04-26 02:45:38 +00:00
mattias
ce9a911825 LCL: TCustomLabel: AdjustSize if WordWrap and Width changed
git-svn-id: trunk@24917 -
2010-04-25 14:56:15 +00:00
mattias
374d65d68c LCL: TCustom.Label: size calculation for single lines with wordwrap
git-svn-id: trunk@24903 -
2010-04-25 08:55:47 +00:00
mattias
d1377d95cb LCL: TCustomLabel: fixed measuring size on wordwrap
git-svn-id: trunk@24899 -
2010-04-24 22:36:56 +00:00
mattias
1ee2beda9e LCL: TLabel: do not change size in DoAutoSize, TWinControl.CreateWnd: invalidatepreferredszie of childs - needed for non TWinControl
git-svn-id: trunk@24263 -
2010-03-28 11:53:08 +00:00
mattias
62fc1305ad LCL: improved debugging changebounds, removed TCustomLabel AdjustSize in loaded
git-svn-id: trunk@24075 -
2010-03-18 00:17:35 +00:00
mattias
3f79d12265 LCL: fixed endless loop on TLabel.SetBounds
git-svn-id: trunk@24074 -
2010-03-17 23:42:45 +00:00
paul
a350849e6b lcl: patch from Zaher Dirkey to fix TLabel and TStaticText alignment with respect the BiDi mode (issue #0014915)
git-svn-id: trunk@22312 -
2009-10-28 09:49:18 +00:00
paul
e865577984 lcl: add symmetric RemoveFreeNotification for some FreeNotification calls
git-svn-id: trunk@21861 -
2009-09-25 14:13:31 +00:00
paul
b66b9e6cb4 lcl: prevent setbounds infinite loop (bug #0014474)
git-svn-id: trunk@21521 -
2009-09-01 14:37:48 +00:00
paul
783001dd2d lcl: allow resize of label width if both AutoSize and WordWrap are true, better handle WordWrap change + formatting (fixes issue #0014362)
git-svn-id: trunk@21486 -
2009-08-30 17:22:56 +00:00
vincents
f177bfa6c3 LCL: adjust font of label, when caption changes, if OptimalFill = true (issue #14088)
git-svn-id: trunk@21128 -
2009-08-07 09:23:09 +00:00
paul
d7dd2de4ce lcl: formatting
git-svn-id: trunk@20676 -
2009-06-20 08:36:07 +00:00
vincents
76d394715b LCL: fixed order of parameters of CalcFittingFontHeight in TLabel.OptimallFill from Daniel Simões de Almeida (issue #13557)
git-svn-id: trunk@19573 -
2009-04-22 19:05:43 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
c20e56842f lcl: store Label color if it differs from clNone without regards to ParentColor
git-svn-id: trunk@16537 -
2008-09-11 02:57:11 +00:00
paul
0231a67f14 lcl, win32: formatting + misc
git-svn-id: trunk@16344 -
2008-09-01 10:00:29 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
aeaaaf25d5 lcl: safer gdi handles typecasting
git-svn-id: trunk@15219 -
2008-05-23 15:58:27 +00:00
paul
1cd9bfb7a0 TextRect: pass DT_EXPANDTABS to DrawText if Style.ExpandTabs is true
DrawText: qt, gtk - add support for DT_EXPANDTABS
TCustomLabel: draw with ExpandTabs = true (issue #0011050)

git-svn-id: trunk@14702 -
2008-04-01 02:34:47 +00:00
paul
12392bd167 update label size on font change if autosize is set to true (0010846)
git-svn-id: trunk@14217 -
2008-02-21 04:32:08 +00:00
mattias
71b9a6d4c8 LCL: fixed autosizing parent, when TLabel is anchored. bug #10557
git-svn-id: trunk@13630 -
2008-01-05 15:37:15 +00:00
paul
2e413c5941 use obj.Reference.Handle instead of obj.Handle in lcl since obj.Handle is deprecated now (for converted gdi objects)
git-svn-id: trunk@13307 -
2007-12-13 02:01:24 +00:00
mattias
9145ac184d LCL: TLabel: fixed restoring font.color when Enabled=false
git-svn-id: trunk@13097 -
2007-12-01 09:36:09 +00:00
tombo
2110590f03 LCL: fix label layout when aligned
git-svn-id: trunk@13061 -
2007-11-28 09:17:01 +00:00
mattias
0ea4f5c3b0 LCL: TLabel: fixed invalidating preferred size when Text changes
git-svn-id: trunk@12926 -
2007-11-19 20:06:24 +00:00
mattias
5141dd53bc LCL: fixed TLabel to override CalculatePreferredSize instead of DoAutoSize
git-svn-id: trunk@12925 -
2007-11-19 20:00:42 +00:00
paul
0f414ef266 change unit formatting a bit
git-svn-id: trunk@12878 -
2007-11-15 03:02:37 +00:00
paul
c3894a3f9e fix label bg drawing with color (issue #0010179)
git-svn-id: trunk@12877 -
2007-11-15 02:56:51 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
marc
5f938bdfed * Fixed TImage autosizing
git-svn-id: trunk@11945 -
2007-09-05 23:41:26 +00:00
mattias
73d0ae53b0 LCL: TLabel added DoMeasureTextPosition from Luiz Americo Pereira Camara
git-svn-id: trunk@11830 -
2007-08-16 18:42:49 +00:00
mattias
faf9bcde66 LCL: fixed TLabel.SetTransparent to use clBackground
git-svn-id: trunk@11726 -
2007-08-03 11:13:02 +00:00
paul
401d81cfc4 - BidiMode patch from Zaher Dirkey (0008996) part 2
git-svn-id: trunk@11409 -
2007-07-02 07:03:42 +00:00
vincents
6d2add8364 LCL: use GetLabelText, where Caption was used previously (bug #9121) from Laurent
git-svn-id: trunk@11356 -
2007-06-23 07:24:46 +00:00
vincents
6a03559a23 LCL: added TCustomLabel.GetLabelText (issue #9121) from Laurent
git-svn-id: trunk@11339 -
2007-06-20 22:05:55 +00:00
jesus
183704f081 LCL, TCustomLabel default color is clNone, but it wont allow to store color:=clWindow which is the default for TControl
git-svn-id: trunk@11323 -
2007-06-14 21:04:56 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
6bd2881a7f win32 intf: fixed compilation
git-svn-id: trunk@10596 -
2007-02-06 00:19:25 +00:00
mattias
025627c932 fixed unitinfo layout
git-svn-id: trunk@9867 -
2006-09-12 17:06:10 +00:00
mattias
5c7c30f966 LCL aligning: no longer forgets to call DoAutoSize after aligning
git-svn-id: trunk@9762 -
2006-08-28 21:36:21 +00:00
mattias
760fe6159f TLabel: not painting background when Transparent=true, and when disabled paint label embossed from Darek
git-svn-id: trunk@9615 -
2006-07-14 22:51:00 +00:00
mattias
8027a9738d gtk intf: added minimum size for TTrackBar
git-svn-id: trunk@9506 -
2006-06-27 22:08:49 +00:00
mattias
88a04ff101 removed TLabel fontchanged hook and added TCheckList.OnClickChecked event from Darek
git-svn-id: trunk@9403 -
2006-06-05 10:24:47 +00:00