Commit Graph

130 Commits

Author SHA1 Message Date
ondrej
f620b70d6d LCL: toolbar: fix endless align/autosize loop. Issue #33575
git-svn-id: trunk@57674 -
2018-04-19 14:49:39 +00:00
ondrej
90f22ba7fd LCL: High-DPI ImageList: LCL runtime and win32
git-svn-id: branches/HiDPIImageList@57039 -
2018-01-10 12:46:42 +00:00
ondrej
b6a11cc0d9 lcl: coolbar: fix double-if from r55426 #f06f1ef334. issue #32027
git-svn-id: trunk@55431 -
2017-07-03 13:57:06 +00:00
wp
f06f1ef334 LCL: Improved docking of coolbar/controlbar (more patches by Andrey Zubarev), Issue #32027
git-svn-id: trunk@55426 -
2017-07-02 20:29:55 +00:00
ondrej
3c692e825d LCL: TToolBar: remove in 1.7 introduced incompatiblity and use real values for ButtonHeight, ButtonWidth, ButtonDropWidth.
git-svn-id: trunk@55109 -
2017-05-28 07:33:27 +00:00
ondrej
083ef5923c LCL: rename TControl.ScaleCoord* methods
git-svn-id: trunk@55022 -
2017-05-20 10:02:25 +00:00
ondrej
eb5e2e2060 lcl: toolbar: High-DPI: fixes - use 0 as default button size
git-svn-id: trunk@54238 -
2017-02-21 20:42:24 +00:00
ondrej
c49da67b40 LCL: toolbar: High-DPI: drop-down width
git-svn-id: trunk@54230 -
2017-02-21 18:18:12 +00:00
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
e7b8a7cf27 lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
612a26c207 lcl: TToolBar: highDPI: scale DropDownWidth (fixed), FThemeButtonDropWidth and FThemeDropDownWidth
git-svn-id: trunk@53563 -
2016-12-05 21:34:39 +00:00
ondrej
efdc1a1a7e lcl: TToolBar: highDPI: scale DropDownWidth
git-svn-id: trunk@53562 -
2016-12-05 20:58:53 +00:00
ondrej
986b17c058 lcl: toolbar: highDPI: adjust button size in DoAutoAdjustLayout.
git-svn-id: trunk@53542 -
2016-12-03 07:14:01 +00:00
ondrej
25cfeb51ee lcl: toolbutton: fix paint arrow for tbsButtonDrop (was outside the visual button bounds)
git-svn-id: trunk@50932 -
2015-12-19 12:45:09 +00:00
ondrej
540bd3a671 lcl: toolbar: add DropDownWidth property
git-svn-id: trunk@50900 -
2015-12-18 10:13:17 +00:00
juha
f26e6ca27f LCL: Add OnPaint and OnPaintButton for TToolBar. Issue #28029, patch from "007".
git-svn-id: trunk@48938 -
2015-05-05 19:39:04 +00:00
mattias
09f76fa935 LCL: TToolBar: fixed layout when Horizontal and rows right to left, bug #26962
git-svn-id: trunk@46888 -
2014-11-19 16:18:35 +00:00
giuliano
447003f6d6 LCL: issue #0027030: proper button size in vertical mode
(conctrls.pp,toolbar.inc,toolbutton.inc)
IDEINTF: same issue - componenteditors.pas

git-svn-id: trunk@46800 -
2014-11-12 11:58:51 +00:00
juha
2bf9550c2a LCL: Allow setting ToolButton size on Toolbar smaller. Issue #26948, patch from Vojtech Cihak.
git-svn-id: trunk@46746 -
2014-11-03 16:04:49 +00:00
juha
263412374c LCL: Allow changing ToolBar separator's width. Issue #25291, patch from Vojtech Cihak.
git-svn-id: trunk@46741 -
2014-11-01 21:44:44 +00:00
mattias
82085e2c7d LCL: TToolBar: when BidiMode righttoleft put controls rightmost
git-svn-id: trunk@43420 -
2013-11-11 12:47:22 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
juha
311145649a Changed files for CoolBar
git-svn-id: trunk@39984 -
2013-01-27 20:17:31 +00:00
bart
a667f618e1 TToolBar: extend heuristic in IsVertical function to also consider alClient and alCustom.
Fixes issue #0023034

git-svn-id: trunk@38939 -
2012-10-01 19:21:23 +00:00
vincents
fe53b9943a LCL: initialized toolbar height with default value, fixes issue #20132
git-svn-id: trunk@36087 -
2012-03-16 11:39:00 +00:00
paul
de0cfa211a lcl: fix vertical toolbar button positioning + drawing of vertical separators
git-svn-id: trunk@30921 -
2011-05-27 06:39:29 +00:00
paul
423815bcc3 lcl: post CN_DROPDOWNCLOSED after Popup is executed because it is too early to post it on close event - on windows it reaches the sender before the click event (issue #0016044)
git-svn-id: trunk@29833 -
2011-03-14 06:54:46 +00:00
paul
bbe53df988 lcl: post CN_DROPDOWNCLOSED before closing a toolbar popup menu for delphi compatibility, call TMenuItem.Click when tool button is clicked
git-svn-id: trunk@29779 -
2011-03-10 06:34:49 +00:00
paul
a0328590c5 lcl: formatting, cleanup
git-svn-id: trunk@29778 -
2011-03-10 04:26:42 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
martin
45883b6dc0 IDE: fixed invisible toolbutton in designer. Issue #18192
git-svn-id: trunk@28697 -
2010-12-12 16:26:05 +00:00
paul
4439ab142e lcl: set ToolBar.Transparent = False by default
git-svn-id: trunk@28154 -
2010-11-08 10:34:16 +00:00
paul
d49ae27a49 lcl, win32: implement TToolbar.Transparent property
git-svn-id: trunk@28150 -
2010-11-08 08:57:18 +00:00
mattias
1bb0bd225f LCL: fixed TAnchorSIde.IsAnchoredToParent
git-svn-id: trunk@25271 -
2010-05-09 08:16:14 +00:00
mattias
5c65c9304e LCL: TToolBar: improved check if width is fixed and autosize, bug #16425
git-svn-id: trunk@25264 -
2010-05-08 20:02:33 +00:00
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
8798f09aa7 LCL: TToolBar: fixed wrap
git-svn-id: trunk@24620 -
2010-04-14 13:01:02 +00:00
mattias
314c61457e codetools: FindStartOfAtom check if at start of string constant, bug #16203
git-svn-id: trunk@24446 -
2010-04-05 20:02:16 +00:00
mattias
8e09f3c8dd LCL: TToolBar: prevent endless loop if not enough space, bug #16194
git-svn-id: trunk@24412 -
2010-04-04 22:37:50 +00:00
mattias
7c4cb1efcb LCL: DoAllAutoSize: check handleallocated for childs, needed after SetParent
git-svn-id: trunk@24407 -
2010-04-04 18:31:32 +00:00
mattias
3729314672 LCL: TControl.DoAutoSize: autosizes to peferred size
git-svn-id: trunk@24379 -
2010-04-03 15:52:01 +00:00
mattias
68c75f3577 LCL: TToolBar using SetBounds to not struggle with the LCL
git-svn-id: trunk@24378 -
2010-04-03 14:14:47 +00:00
mattias
e16bb0cfa4 LCL:
autosize: turn childs visible before parent
autosize without visible handle: clear requests
TWinControl.UpdateControlState: call AdjustSize to delay showing after bound computation
TWinControl.WMSize: ignore if no bounds were sent to intf
TToolBar.CreateWnd: delay autosize
TControl.DoAllAutoSize: do not autosize invisible controls

git-svn-id: trunk@24377 -
2010-04-03 13:28:35 +00:00
maxim
0e648dd6d1 LCL: fixed a typo which breaks IDE compilation with -dOldAutoSize
git-svn-id: trunk@24261 -
2010-03-28 00:10:18 +00:00
mattias
4f5b4cc836 LCL: TToolBar: improved CalculatePreferredSize
git-svn-id: trunk@24259 -
2010-03-27 23:12:39 +00:00
mattias
9ec360a2e8 LCL: newautosize: AutoSizeDelayed ignore HandleAllocated, UpdateControlState: call AdjustSize instead of UpdateShowing to delay showing after the bounds have been computed
git-svn-id: trunk@24256 -
2010-03-27 22:58:28 +00:00
mattias
4f4bb0755f lcl: TToolBar: auto fix anchoring of child controls
git-svn-id: trunk@24076 -
2010-03-18 00:23:14 +00:00
blikblum
d1191aa008 lcl: Remove ParentFontChanged from TCustomCheckListBox and TToolbar since it's not necessary
git-svn-id: trunk@23247 -
2009-12-24 01:07:11 +00:00