PC Review


Reply
Thread Tools Rate Thread

Aligning edit boxes on the Ribbon

 
 
xp
Guest
Posts: n/a
 
      17th Nov 2009
In the ribbon, when I set up two edit boxes, one above the other, they don't
line up because the text in the labels are different widths...it looks pretty
ugly...how can I get the edit boxes to line up correctly or perhaps right
align?

Thanks!
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      17th Nov 2009
Hi xp

Try to set the width with

sizeString="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"xp" <(E-Mail Removed)> wrote in message news:ACDC64C2-BBF5-4048-962A-(E-Mail Removed)...
> In the ribbon, when I set up two edit boxes, one above the other, they don't
> line up because the text in the labels are different widths...it looks pretty
> ugly...how can I get the edit boxes to line up correctly or perhaps right
> align?
>
> Thanks!

 
Reply With Quote
 
xp
Guest
Posts: n/a
 
      17th Nov 2009
Hi Ron,

This will size the boxes themselves, which is half the battle, but the
labels are text and are still a problem. I can insert a blank space but the
spaces are sometimes too wide or too narrow to line things up; it looks
better, but is still a problem.

Please let me know if you learn any more or have any further ideas.

Thanks for the tip!

"Ron de Bruin" wrote:

> Hi xp
>
> Try to set the width with
>
> sizeString="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "xp" <(E-Mail Removed)> wrote in message news:ACDC64C2-BBF5-4048-962A-(E-Mail Removed)...
> > In the ribbon, when I set up two edit boxes, one above the other, they don't
> > line up because the text in the labels are different widths...it looks pretty
> > ugly...how can I get the edit boxes to line up correctly or perhaps right
> > align?
> >
> > Thanks!

> .
>

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      17th Nov 2009
Hi XP

Sorry I have no time to play with it now
To busy with work and with examples for backstageview in 2010

I hope you get help from anybody else



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"xp" <(E-Mail Removed)> wrote in message news:C178A3F6-FB21-486D-89E3-(E-Mail Removed)...
> Hi Ron,
>
> This will size the boxes themselves, which is half the battle, but the
> labels are text and are still a problem. I can insert a blank space but the
> spaces are sometimes too wide or too narrow to line things up; it looks
> better, but is still a problem.
>
> Please let me know if you learn any more or have any further ideas.
>
> Thanks for the tip!
>
> "Ron de Bruin" wrote:
>
>> Hi xp
>>
>> Try to set the width with
>>
>> sizeString="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"
>>
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "xp" <(E-Mail Removed)> wrote in message news:ACDC64C2-BBF5-4048-962A-(E-Mail Removed)...
>> > In the ribbon, when I set up two edit boxes, one above the other, they don't
>> > line up because the text in the labels are different widths...it looks pretty
>> > ugly...how can I get the edit boxes to line up correctly or perhaps right
>> > align?
>> >
>> > Thanks!

>> .
>>

 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      18th Nov 2009
Hi,

You could use a combination of Box, Label and Edit controls. Place the
labels within a vertically aligned box.
Then remove the labels from the edit controls. This xml will add a new group
to the Home tab with 2 labels and edit boxes.

<!--RibbonX Visual Designer 1.6 for Microsoft Excel. XML Code produced on
2009/11/18-->
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" >
<ribbon >
<tabs >
<tab idMso="TabHome" >
<group
id="Group1"
label="Group1">
<box
boxStyle="vertical"
id="Box1">
<labelControl
id="Labelcontrol1"
label="Short"/>
<labelControl
id="Labelcontrol2"
label="Long label text"/>
</box >
<editBox id="Editbox1" />
<editBox id="Editbox2" />
</group >
</tab >
</tabs >
</ribbon >
</customUI >

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"xp" <(E-Mail Removed)> wrote in message
news:C178A3F6-FB21-486D-89E3-(E-Mail Removed)...
> Hi Ron,
>
> This will size the boxes themselves, which is half the battle, but the
> labels are text and are still a problem. I can insert a blank space but
> the
> spaces are sometimes too wide or too narrow to line things up; it looks
> better, but is still a problem.
>
> Please let me know if you learn any more or have any further ideas.
>
> Thanks for the tip!
>
> "Ron de Bruin" wrote:
>
>> Hi xp
>>
>> Try to set the width with
>>
>> sizeString="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"
>>
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "xp" <(E-Mail Removed)> wrote in message
>> news:ACDC64C2-BBF5-4048-962A-(E-Mail Removed)...
>> > In the ribbon, when I set up two edit boxes, one above the other, they
>> > don't
>> > line up because the text in the labels are different widths...it looks
>> > pretty
>> > ugly...how can I get the edit boxes to line up correctly or perhaps
>> > right
>> > align?
>> >
>> > Thanks!

>> .
>>


 
Reply With Quote
 
xp
Guest
Posts: n/a
 
      19th Nov 2009
I'll give this a try; thanks for the help!

"Andy Pope" wrote:

> Hi,
>
> You could use a combination of Box, Label and Edit controls. Place the
> labels within a vertically aligned box.
> Then remove the labels from the edit controls. This xml will add a new group
> to the Home tab with 2 labels and edit boxes.
>
> <!--RibbonX Visual Designer 1.6 for Microsoft Excel. XML Code produced on
> 2009/11/18-->
> <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" >
> <ribbon >
> <tabs >
> <tab idMso="TabHome" >
> <group
> id="Group1"
> label="Group1">
> <box
> boxStyle="vertical"
> id="Box1">
> <labelControl
> id="Labelcontrol1"
> label="Short"/>
> <labelControl
> id="Labelcontrol2"
> label="Long label text"/>
> </box >
> <editBox id="Editbox1" />
> <editBox id="Editbox2" />
> </group >
> </tab >
> </tabs >
> </ribbon >
> </customUI >
>
> Cheers
> Andy
>
> --
>
> Andy Pope, Microsoft MVP - Excel
> http://www.andypope.info
> "xp" <(E-Mail Removed)> wrote in message
> news:C178A3F6-FB21-486D-89E3-(E-Mail Removed)...
> > Hi Ron,
> >
> > This will size the boxes themselves, which is half the battle, but the
> > labels are text and are still a problem. I can insert a blank space but
> > the
> > spaces are sometimes too wide or too narrow to line things up; it looks
> > better, but is still a problem.
> >
> > Please let me know if you learn any more or have any further ideas.
> >
> > Thanks for the tip!
> >
> > "Ron de Bruin" wrote:
> >
> >> Hi xp
> >>
> >> Try to set the width with
> >>
> >> sizeString="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"
> >>
> >>
> >> --
> >>
> >> Regards Ron de Bruin
> >> http://www.rondebruin.nl/tips.htm
> >>
> >>
> >> "xp" <(E-Mail Removed)> wrote in message
> >> news:ACDC64C2-BBF5-4048-962A-(E-Mail Removed)...
> >> > In the ribbon, when I set up two edit boxes, one above the other, they
> >> > don't
> >> > line up because the text in the labels are different widths...it looks
> >> > pretty
> >> > ugly...how can I get the edit boxes to line up correctly or perhaps
> >> > right
> >> > align?
> >> >
> >> > Thanks!
> >> .
> >>

>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Aligning check boxes in Excel 2007 DoubleZ Microsoft Excel Misc 5 30th Sep 2010 04:30 AM
Aligning Text Boxes & Images - HOW!? Brooket84 Microsoft Word Document Management 1 23rd Oct 2008 11:04 AM
Check boxes - aligning with text =?Utf-8?B?TmV3S2lkb250aGVCbG9jaw==?= Microsoft Access Forms 3 20th Jun 2006 05:48 PM
Aligning labels and text boxes =?Utf-8?B?Q2FuTWlrZQ==?= Microsoft Access Forms 1 15th Feb 2005 06:27 PM
aligning text boxes L/P Microsoft Powerpoint 3 7th Oct 2003 07:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 AM.