Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
91 user(s) are online (52 user(s) are browsing Forums)

Members: 0
Guests: 91

more...

Headlines

 
  Register To Post  

[Solved] IButton driving me crazy
Supreme Council
Supreme Council


See User information
hello.

I'm trying to display 12 buttons using the full width of a window, but they must have the exact same width regardless of the GA_Text set in them.

It this even possible using ILayout+IButtons?

I don't mind if the text becomes partly non visible as long as the start of the text shows up.


Edited by orgin on 2009/3/28 11:16:49
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: IButton driving me crazy
Not too shy to talk
Not too shy to talk


See User information
@orgin

Have you tried the LAYOUT_EvenSize Tag?

Go to top
Re: IButton driving me crazy
Supreme Council
Supreme Council


See User information
@ZeroG

That uses the largest button minimum size for all buttons and forces the window to adjusts its minimum width to it. (Ie, no text cutoffs)

I need to let the window width dictate the width of the buttons, not the other way around.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: IButton driving me crazy
Supreme Council
Supreme Council


See User information
@orgin

Ahh, found a way, setting "BUTTON_DomainString" to an empty string enables them to shrink beyond the text length.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project