Commit Graph

6031 Commits

Author SHA1 Message Date
juha
760d03b2bb LCL: Fix TCustomLabel.CalcFittingFontHeight. Issue #31538, patch from Serge Anvarov.
git-svn-id: trunk@54560 -
2017-04-07 16:59:49 +00:00
ondrej
90c1f39040 lcl: toolbutton: fix regression after r54371 #3a47676ba3 - button visually released when dropdown menu is shown. Issue #31637
git-svn-id: trunk@54528 -
2017-04-05 14:57:25 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
michl
48d7ba4e4c LCL: TMemo: Fixed disappearance of TMemo after setting borderstyle. Issue #31586
git-svn-id: trunk@54509 -
2017-04-03 18:42:40 +00:00
ondrej
e4a448195b lcl: forms: UpdateScreen: read value from ScreenInfo. Issue #31037 (regression after r54453 #20a9ecf1d5)
see regression issues #31601, #31598

git-svn-id: trunk@54486 -
2017-03-26 18:32:57 +00:00
juha
2b8ab52cf2 LCL: Fix autocomplete in TDBLookupComboBox. Issue #31447, patch from Artem Proskurnev.
git-svn-id: trunk@54468 -
2017-03-22 20:20:52 +00:00
juha
93da17aa07 LCL: Refactoring, combine identical code in TScreen to a function.
git-svn-id: trunk@54465 -
2017-03-22 17:17:21 +00:00
ondrej
20a9ecf1d5 LCL, Darwin (MacOSX): fix DPI values on LCL-level. Keep WidgetSet-DPI value original. Issue #31037
git-svn-id: trunk@54453 -
2017-03-21 19:29:26 +00:00
ondrej
98e5d53303 lcl: screen: update monitors in case invalid monitor handle is found. Issue #30336
git-svn-id: trunk@54449 -
2017-03-19 17:46:34 +00:00
ondrej
69adfaad00 lcl: listbox: add Options property + add option to enable/disable focus rect drawing. Issue #30532
git-svn-id: trunk@54442 -
2017-03-18 09:40:31 +00:00
ondrej
cd7fd1bc6e lcl: DBLookupComboBox, DBLookupListBox: update Lookup on handle destroy. Issue #31486
git-svn-id: trunk@54441 -
2017-03-18 09:20:06 +00:00
ondrej
9219f84705 lcl: treeview: High-DPI: Indent fix r54435 #25d25e78b3. Issue #31558
git-svn-id: trunk@54437 -
2017-03-17 21:20:01 +00:00
ondrej
25d25e78b3 lcl: treeview: High-DPI: DefaultItemHeight, Indent. Issue #31558
git-svn-id: trunk@54435 -
2017-03-17 19:36:40 +00:00
juha
0a7346f015 LCL: Detect an overflow in parameter values in some autosize situations.
git-svn-id: trunk@54372 -
2017-03-08 20:33:44 +00:00
ondrej
fb53b10290 LCL: combo box: High-DPI. Issue #31504
git-svn-id: trunk@54369 -
2017-03-08 15:54:45 +00:00
ondrej
8537762cb8 LCL: High-DPI: disable/enable auto sizing on scale.
git-svn-id: trunk@54359 -
2017-03-07 13:52:49 +00:00
juha
f435e4865a LCL: Enable propagation of mouse xbutton up/down events. Issue #31456, patch from Jay Themon.
git-svn-id: trunk@54357 -
2017-03-07 10:28:44 +00:00
ondrej
716fadd4fe LCL: control: fix twice font scaling for 0-sized fonts with ParentFont=False. Issue #31432
git-svn-id: trunk@54354 -
2017-03-06 15:50:50 +00:00
ondrej
4ba349fd6e LCL: form: fix AutoAdjustLayout if constraints are used. Issue #31336
git-svn-id: trunk@54353 -
2017-03-06 15:34:11 +00:00
michl
62155bcd28 SpartaDockedFormEditor: Fixed always disable actions for controls: Issue #31479
git-svn-id: trunk@54341 -
2017-03-04 13:25:24 +00:00
zeljko
7ada3f4ff8 LCL: GetTextExtentExPoint() - always initialized MaxCount patch by accorp, code formatting by me. issue #31467
git-svn-id: trunk@54325 -
2017-03-02 15:43:09 +00:00
ondrej
134d8be1e9 LCL: hint window: fix default (theme) font after r54293 #2bac2f4e5a
git-svn-id: trunk@54304 -
2017-02-28 09:10:14 +00:00
ondrej
87641c3ff9 LCL: hint window: fix multi-DPI-monitor handling
git-svn-id: trunk@54303 -
2017-02-28 08:07:52 +00:00
ondrej
a6bb65beac LCL: screen: fix HintFont getter
git-svn-id: trunk@54299 -
2017-02-27 19:42:42 +00:00
ondrej
2bac2f4e5a LCL: hint window: use Font instead of Canvas.Font. Issue #31443
git-svn-id: trunk@54293 -
2017-02-27 14:27:52 +00:00
ondrej
dec8fb4e29 LCL: control: fix design font PPI only if ParentFont=False
git-svn-id: trunk@54292 -
2017-02-27 14:01:06 +00:00
ondrej
87b9429fbe cleanup (r54266)
git-svn-id: trunk@54267 -
2017-02-24 20:14:50 +00:00
ondrej
f82d6f899f LCL: wincontrol: adapt client bounds only if real bounds are valid. Issue #31439
git-svn-id: trunk@54266 -
2017-02-24 19:37:39 +00:00
ondrej
48e816a02f LCL: edit: use messages for emulated text hint (messages are also sent when parent form gets/loses focus).
git-svn-id: trunk@54264 -
2017-02-24 15:35:57 +00:00
ondrej
048968bf2f LCL: customdesigncontrol: AutoAdjustLayout: update PixelsPerInch only in case of lapAutoAdjustForDPI mode
git-svn-id: trunk@54261 -
2017-02-24 12:11:22 +00:00
ondrej
d79fd99a1e LCL: HighDPI: check Application.Scaled for auto-scaling
git-svn-id: trunk@54260 -
2017-02-24 12:07:07 +00:00
ondrej
218a4ed3ef lcl: coolbar: check for Canvas.HandleAllocated in DoFontChanged
git-svn-id: trunk@54250 -
2017-02-21 23:51:31 +00:00
ondrej
301fe8fb23 LCL: control: DoFixDesignFontPPI Begin/EndUpdate
git-svn-id: trunk@54249 -
2017-02-21 23:50:33 +00:00
ondrej
a597ac1006 LCL: treeview: High-DPI: use 0 for default (automatic) expand size
git-svn-id: trunk@54239 -
2017-02-21 20:47:57 +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
44f6051d2f LCL: treeview: High-DPI: expand size fix typo
git-svn-id: trunk@54234 -
2017-02-21 18:45:04 +00:00
ondrej
0471421a18 LCL: treeview: High-DPI: expand size fix
git-svn-id: trunk@54232 -
2017-02-21 18:38:54 +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
70fe56bb6f LCL: treeview: High-DPI: expand size
git-svn-id: trunk@54228 -
2017-02-21 17:59:10 +00:00
ondrej
6f5693f5ff lcl: customcontrol, graphiccontrol: High-DPI: assign PixelsPerInch to Canvas.Font
git-svn-id: trunk@54225 -
2017-02-21 14:00:23 +00:00
ondrej
d6983d5300 lcl: headercontrol: High-DPI. Issue #31429, patch by Anton Kavalenka
git-svn-id: trunk@54224 -
2017-02-21 13:58:19 +00:00
ondrej
b64d6fc80e LCL: control: fix 0-height font scaling: only in runtime
git-svn-id: trunk@54223 -
2017-02-21 12:51:35 +00:00
ondrej
e5d22e3b9a LCL: control: fix 0-height font scaling: only in runtime
git-svn-id: trunk@54222 -
2017-02-21 12:48:22 +00:00
ondrej
00e450bfa7 LCL: control: fix 0-height font scaling
git-svn-id: trunk@54220 -
2017-02-21 11:59:27 +00:00
ondrej
8b4aa08543 LCL: customdesigncontrol: High-DPI: set correct Font.PixelsPerInch after create.
git-svn-id: trunk@54219 -
2017-02-21 11:58:18 +00:00
ondrej
eeff7db7c3 LCL: rename DPI parameters to PPI
git-svn-id: trunk@54218 -
2017-02-21 10:56:42 +00:00
ondrej
4de009ab5e LCL: TFont: call Changed after PixelsPerInch change
git-svn-id: trunk@54217 -
2017-02-21 10:46:37 +00:00
ondrej
4a89ed8ec1 LCL: TControl: explicitely scale fonts with 0-height because they cannot be scaled automatically with TFont.PixelsPerInch
git-svn-id: trunk@54216 -
2017-02-21 10:45:27 +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