<p style="padding:0 0 0 0; margin:0 0 0 0;">Hi,</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><br />
>For me it happens with GTK2 and QT on Linux Mint 14.<br />
>1. Drag a band to the right side of another band.<br />
>2. Place mouse cursor on the grab-handle of the right side band. It is<br />
>kind of between the 2 bands. Cursor correctly changes to horizontal<br />
>resize.<br />
>3. Grab the handle (mouse down) and the cursor changes to "disallowed" sign.<br />
> On Windows the cursor remains as "resize" which is correct.<br />
<br />
>On Windows the cursor changes to normal pointer when mouse goes over<br />
>other controls on bands.<br />
>With QT + Linux the cursor is always "disallowed" when dragging.<br />
<br />
With all widgetsets it is possible to drag and resize bands, only the<br />
cursor is wrong.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I still cannot reproduce. I don't know why it happens, in the code is used only crDefault, crHSplit and crDrag.<br />
<br />
>Yes, in Object Inspector set Align=alBottom or Align=alClient for a<br />
>control which is attached to a band.<br />
>Strangely, after switching back to Align=alNone the positionsing logic<br />
>is still broken. You can move the control manually.<br />
>I still think the code should use AlignControls. It is part of LCL's<br />
>design and solves cleanly exactly this kind of issues.<br />
>I am afraid now you must do more hacks to fix the positioning and it<br />
>will still not be good.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I see. I'll try to do something with it.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Coincidentaly, before two hours I installed Delphi7 Personal Edition to Wine and their implementation of TCoolBar isn't perfect too. For example, I can drag control away from band (on the second attempt). Also, when I put button on CoolBar it creates new band (it's OK) but it resizes the button to the full width of the CoolBar, which is pretty ugly. I tried to have more bands side by side in design time and in run time and I don't know how to it. II can only have each band on new line. Maybe it's possible only from code. But I believe it's possible somehow otehrwise the property Break shoudln't make sense.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">On the other hand, TControlBar works fine in Delphi. That's where we loose yet. :D</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I'll try to improve both. </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Have a nice day.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Vojtěch </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">PS: Did anyone try ECControls on Carbon already? </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus.freepascal.org<br />
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></p>