Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Button Height
Tue, Jan 3 2012 1:06 AMPermanent Link

Godfrey

Ultimatesoft

I have just created my first project, looks pretty simple.

What about the button height.  I can increase the width but not the height.

Thanks
Tue, Jan 3 2012 9:16 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Hi,

You can change the button height by using the skins. i.e. design a skin
for the button height with the height that you want the button to be.

Chris Holland
[Team Elevate]

On 03/01/2012 06:06, Godfrey wrote:
> I have just created my first project, looks pretty simple.
>
> What about the button height.  I can increase the width but not the height.
>
> Thanks
>
Tue, Jan 3 2012 10:25 AMPermanent Link

Godfrey

Ultimatesoft

Hi

Do you mean using a theme?

What if you want different sized buttons on the same form.

Godfrey


Chris Holland wrote:

Hi,

You can change the button height by using the skins. i.e. design a skin
for the button height with the height that you want the button to be.

Chris Holland
[Team Elevate]
Tue, Jan 3 2012 10:50 AMPermanent Link

Walter Matte

Tactical Business Corporation

Godfrey

You can create button images and use images as buttons.

I use Button Shop for this....

http://www.kristanixsoftware.com/buttonshop

Walter
Tue, Jan 3 2012 4:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Godfrey,

<< Do you mean using a theme? >>

Yes.

<< What if you want different sized buttons on the same form. >>

You can't - the general idea is that a theme enforces some standards on
button heights, etc..  If you need specialty buttons, then you can do
something like what Walter suggested and use TImages instead.  However, they
won't be part of the tabbing order, so they will act more like toolbar
buttons that don't ever gain focus.

--
Tim Young
Elevate Software
www.elevatesoft.com


Wed, Jan 4 2012 1:56 AMPermanent Link

Godfrey

Ultimatesoft

Hi

How do you change the size of the button in themes?  I cannot find a property for the size.

Thanks


<< Do you mean using a theme? >>

Yes.
Wed, Jan 4 2012 7:58 AMPermanent Link

Walter Matte

Tactical Business Corporation

Godfrey:

>>  How do you change the size of the button in themes?  I cannot find a property for the size.

In Theme - Group Button - you need to create a series of graphic files to describe your button.  There will be only one height at the end of the day.  That height will be determined by the graphics used to construct the button.

You can take Tim's default theme and save each part of the Theme Button Group.  Edit them as you want with a graphic program (Paint.net is free and good) and load them into a new theme and see what you get.

Walter
Wed, Jan 4 2012 10:34 AMPermanent Link

Robert Devine

Hi Tim

Would it be possible to create a descendant button component and apply a
different height in the style to that component type? I haven't looked
at styles yet so this might be a bit off-the-wall...

Cheers, Bob


On 03/01/2012 21:19, Tim Young [Elevate Software] wrote:
> Godfrey,
>
> << Do you mean using a theme? >>
>
> Yes.
>
> << What if you want different sized buttons on the same form. >>
>
> You can't - the general idea is that a theme enforces some standards on
> button heights, etc.. If you need specialty buttons, then you can do
> something like what Walter suggested and use TImages instead. However,
> they won't be part of the tabbing order, so they will act more like
> toolbar buttons that don't ever gain focus.
>
Tue, Jan 10 2012 4:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bob,

<< Would it be possible to create a descendant button component and apply a
different height in the style to that component type? I haven't looked at
styles yet so this might be a bit off-the-wall... >>

The issue is the height of the images used in the theme.  Certain controls
like buttons and edits use a 3-image layout (left-middle-right), and the
height is fixed by those images.  Other controls use a flexible border
layout that uses a top-left, top, top-right, left, etc. design that allows
for variable heights and widths.  The reason for this is to keep the number
of DOM elements to a minimum for the most common controls, and to allow for
a standardized design.

What I might be able to do is allow for the theming to offer multiple
"styles" per control, thus allowing you to select the desired style at
designtime/runtime.  However, that will involve some serious updates to how
the theming works, so this will most likely have to wait until v1.5 or v2.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image