Commit Graph

74 Commits

Author SHA1 Message Date
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
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
4de68607bc implemented accelerators for TPage captions
git-svn-id: trunk@9206 -
2006-04-29 21:33:39 +00:00
mattias
5c9c26ad49 enable autoadjust size of tLabel after changing font from Darek
git-svn-id: trunk@9125 -
2006-04-15 10:37:40 +00:00
mattias
00b7b56f6f reduced overhead TLabel with single lines, added IFNDEF gtk_no_set_modal to deactivate modal forms in gtk intf from Darek
git-svn-id: trunk@9108 -
2006-04-09 20:55:52 +00:00
mattias
74083b6c08 fixed multiline labels
git-svn-id: trunk@9083 -
2006-04-05 20:01:23 +00:00
mattias
bddde6ee5e fixed wordwrap for TLabel from Darek
git-svn-id: trunk@8956 -
2006-03-18 01:35:31 +00:00
mattias
542ca69199 added TextUTF8Out
git-svn-id: trunk@8928 -
2006-03-13 00:23:09 +00:00
vincents
d6b62f2146 fixed AutoSize of TCustomLabel and TButtonControl with & in the caption (issue #1799)
git-svn-id: trunk@8861 -
2006-03-02 20:10:37 +00:00
micha
cced0352b3 fix ControlStyle csOpaque for TCustomLabel (not opaque when transparent)
git-svn-id: trunk@8240 -
2005-11-29 21:23:28 +00:00
vincents
d7f3e8f9a2 fixed autosizing a disabled label (issue #1382)
git-svn-id: trunk@8046 -
2005-11-03 15:03:08 +00:00
jesus
4a7241572d TCustomLabel ignored when drawing (Marc Geldon, bug #1247)
git-svn-id: trunk@7859 -
2005-09-30 17:58:01 +00:00
mattias
aac6d79b71 TBitBtn now calls AdjustSize on change
git-svn-id: trunk@7748 -
2005-09-19 22:07:12 +00:00
mattias
d78f4a688c converted environment options to lfm from Darius
git-svn-id: trunk@7726 -
2005-09-17 13:50:59 +00:00
mattias
e75d89fe68 added debugln for AutoSizeDelayed
git-svn-id: trunk@7639 -
2005-09-06 22:25:54 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
mattias
536f8dd243 implemented TCustomLabel.OptimalFill: boolean
git-svn-id: trunk@7250 -
2005-06-18 16:10:09 +00:00
micha
96e2620223 fix accelerator handling firing too quickly, better WM_CHAR has-been-handled heuristic
check for focusability of label.focuscontrol

git-svn-id: trunk@7111 -
2005-04-28 10:05:29 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
mattias
dfbe4b526d fixed small aesthetical editoroptions bugs
git-svn-id: trunk@7089 -
2005-04-19 15:06:30 +00:00
micha
6fa632827f implement shortcut handling, tcustomlabel accelerator focuscontrol functionality
git-svn-id: trunk@6725 -
2005-02-03 15:10:23 +00:00
mattias
ad280d456b calling autosizing on changing TLabel.Caption
git-svn-id: trunk@6695 -
2005-01-26 17:51:34 +00:00
mattias
b2b2743b38 fixed TColorButton.Paint
git-svn-id: trunk@6676 -
2005-01-24 12:23:11 +00:00
mattias
f511a12950 added checks for filenames with spaces
git-svn-id: trunk@6675 -
2005-01-24 11:49:42 +00:00