Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

Compound image in Buttons alignment


Hello

For a project I have to create a custom widget that pops up a special menu.
The Button for the menu should contain a dynamic text on the left side and
an image on the right. I thought, I could use a simple button, but although
I set "-compound right" the image stays only on the right side of the text,
but not at the right side of the button. If the text gets shorter, the
image moves inside of the button.

What I want instead is the image always on the right side, and the text
dynamic centered on the rest of the button. If the text gets larger that
the button size, I use a tooltip to show everything.

Is it possible to have the image tied to one side of a button, or do I have
to create my own button?

TIA, regards
Stephan

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc