Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 02:03:21 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Context Menu resizable
Pages: [1]
Print
Author Topic: Context Menu resizable  (Read 297 times)
Tensaides
Just dropped in

Offline Offline

Posts: 15


View Profile Email
« on: 26. May 2010, 03:04:19 pm »

Hello, I have a problem, I want to change the width of my ContextMenu, because when I add a DefaultContextMenuItem to it, if the text is too wide, it won't be displayed completely. Is there any way to do it? I searched but did not found anything.
Logged
horati
Global Moderator
Getting respectable
*****
Offline Offline

Posts: 393


View Profile
« Reply #1 on: 27. May 2010, 12:59:06 am »

There are several ways to resize those components.  Have you looked through the xith-tk demos?
Logged

Kevin
"It may not seem like a big deal, but ignorance of character encoding issues leads to insidious code rot akin to y2k."
http://stackoverflow.com/users/3474/sylvarking
Tensaides
Just dropped in

Offline Offline

Posts: 15


View Profile Email
« Reply #2 on: 27. May 2010, 09:46:44 am »

Yes I had already looked them. But it's ok I found my mistake.

 
Code:
listLayout.setOtherSpanCalculated( true );

It was setted on false instead of true Smiley
« Last Edit: 27. May 2010, 10:22:35 am by Tensaides » Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic