Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Aligning the second column from the right
Thu, Sep 17 2015 10:56 AMPermanent Link

Matthew Jones

I've been trying to get a right-aligned column to work. But the start
of the second column starts "too low". Anyone know what I'm doing wrong?

http://www.matthew-jones.com/temp_xfer/AlignIssue.zip has the simple
form with a TBasicPanel with the items of interest.

--

Matthew Jones
Fri, Sep 18 2015 8:13 AMPermanent Link

Matthew Jones

Matthew Jones wrote:

> I've been trying to get a right-aligned column to work. But the start
> of the second column starts "too low". Anyone know what I'm doing
> wrong?


I have also emailed Tim on another matter, but with a side comment that
I will post here too for other's to ponder the usefulness or not of.
The current Layout system is marvelous, but I like to have panels with
links for actions, and I like to hide them until you are over the
panel. It allows for a less busy display, while keeping functionality.
Anyway, if I make the links invisible, the other items on the layout
have a tendency to jump about. My suggestion was that there should be
an option to have the component still participate in the layout even if
not visible.

Adding to this, I just tried animating these links on visible, and it
is lovely, except that it all jumps around too, so is horrible in fact.
Being able to keep them taking up their space, even though not visible,
would be a good addition IMO.

--

Matthew Jones
Fri, Sep 18 2015 8:21 AMPermanent Link

Matthew Jones

Matthew Jones wrote:

> Being able to keep them taking up their space, even though not
> visible, would be a good addition IMO.


Oh goodness me, how a few moments pause makes one's brain realise the
solution. As I removed my Visible animations, I looked at the others.
And Opacity is there. But there is no Opacity proper... Oh yes there
is. Hmm, and that's what I'm asking for - not visible, but there. And
of course it works exactly as I want. Tim, as ever, has anticipated my
needs.

--

Matthew Jones
Fri, Sep 18 2015 10:28 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Oh goodness me, how a few moments pause makes one's brain realise the solution. As I removed my Visible animations, I looked at the others. And Opacity is there. But there is no Opacity proper... Oh yes there is. Hmm, and that's what I'm asking for - not visible, but there. >>

If a control's Opacity property is not published, then that means that the control interface may override the opacity for the Disabled state, in which case you don't want to modify the Opacity property.  In 2.02 the Opacity property is no longer public, by default, and so you can't access the Opacity property for controls that don't want you to do so.

But, not to worry, just add a container panel and set *its* Opacity to 0 , and it will make the control transparent.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Sep 18 2015 10:31 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I've been trying to get a right-aligned column to work. But the start of the second column starts "too low". Anyone know what I'm doing wrong? >>

Stop using Reset so much. Smile In this case, the btnAdminComplete button should have its Reset property set to False.  You only need a reset after the last label on the right, and that's it.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Sep 18 2015 10:55 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

>  just add a container panel

I'm trying hard to cut back on container panels, though with the other
discussion of how to sort the layout issue, it may not matter so much.

--

Matthew Jones
Mon, Sep 21 2015 10:31 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I'm trying hard to cut back on container panels, though with the other discussion of how to sort the layout issue, it may not matter so much. >>

Container panels for layout are one thing, using them for opacity is another... Smile

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Sep 28 2015 11:16 AMPermanent Link

Matthew Jones

Matthew Jones wrote:

> Anyway, if I make the links invisible, the other items on the layout
> have a tendency to jump about. My suggestion was that there should be
> an option to have the component still participate in the layout even
> if not visible.

I'm coming to think this is a bigger issue than it seemed. I can't
think of a good way to make it perfect. A new property that was
basically "force layout even if invisible" would add another test to
every layout consideration. But I have a nicely layed out dialog that
just broke horribly after I hid a control. Opacity doesn't always work,
as the control is still there. And of course most of the time you want
the layout to be all flexible and move everything else up.

I'd be interested to know if others have been hitting this. The only
sensible solution seems to be to put such controls in a basic panel,
but that seems awkward...

--

Matthew Jones
Tue, Sep 29 2015 11:15 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I'm coming to think this is a bigger issue than it seemed. I can't think of a good way to make it perfect. A new property that was basically "force layout even if invisible" would add another test to every layout consideration. >>

I can put this in as an enhancement, but it wouldn't be showing up until the next round of updates (2.03).

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Sep 29 2015 11:28 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> << I'm coming to think this is a bigger issue than it seemed. I can't
> think of a good way to make it perfect. A new property that was
> basically "force layout even if invisible" would add another test to
> every layout consideration. >>
>
> I can put this in as an enhancement, but it wouldn't be showing up
> until the next round of updates (2.03).

Sure, not expecting it soon. Right now I just put a label in the key
place, and set it to ' ' single space in the form create. Does the job.

--

Matthew Jones
Image