Lazarus

Programming => Widgetset => Cocoa => Topic started by: wittbo on September 05, 2019, 06:14:17 pm

Title: TUpDown problems with Laz 2.0.4 - Back to 2.0.2
Post by: wittbo on September 05, 2019, 06:14:17 pm
I installed 2.0.4 some days ago.

After having done and compiling my applications (64 bit, Cocoa), I found that there were some problems with the TUpDown component:
-  the Flat property cannot be set to True (neither Object inspector nor directly at runtime)
-  color property does not seem to show any effect (may be because of the flat property s.a.)
-  Orientation property has no effect, the control is always displayed vertically

These problems came with 2.0.4, with 2.0.2 everything was ok.
Title: Re: TUpDown problems with Laz 2.0.4
Post by: skalogryz on September 06, 2019, 01:16:26 am
very interesting! do you have screenshots of 202 vs 204?
Title: Re: TUpDown problems with Laz 2.0.4
Post by: wittbo on September 06, 2019, 09:34:35 am
Here they are. Three controls, the left and right one with orientation vertical, the mid one horizontal.
color = clCream; Flat = True; the color of the underlying panel is clbtnshadow.

For 202 I used the standard carbon-based IDE, but compiled for X86_64 and Cocoa; for 204 I made a recompilation of the IDE for cocoa.
Title: Re: TUpDown problems with Laz 2.0.4
Post by: wittbo on September 09, 2019, 11:16:01 pm
Back to 202!

After some experiments, I decided to switch back to Lazarus 2.0.2. I made a fresh install of 204, same problem as described; fresh install of 202, no problem.
Compiler: fpc    target: x86_64    widgetset: cocoa

This afternoon there was another problem with 204/cocoa: 
- take a single form
- place a panel onto this form
- set the color of the form and the panel to ($E7, $E7, $E7)
--> the color of form and panel is different (panel is darker).
TinyPortal © 2005-2018