- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How can Display Boxes be center aligned?
How can the two objects in the following JSL be aligned along their respective central lines as shown in the image?
New Window( "Test",
Text Box( "Test Center alignment" ),
CB = Combo Box( {"1", "2", "3", "4"}, );
);
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How can objects be aligned with a central line?
You can use H/V List Box(align("center")) or H/V Center Box
Names Default To Here(1);
nw = New Window("Test",
V List Box(
align("center"),
Text Box("Test Center alignment"),
CB = Combo Box({"1", "2", "3", "4"})
)
);
-Jarmo
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How can objects be aligned with a central line?
You can use H/V List Box(align("center")) or H/V Center Box
Names Default To Here(1);
nw = New Window("Test",
V List Box(
align("center"),
Text Box("Test Center alignment"),
CB = Combo Box({"1", "2", "3", "4"})
)
);
-Jarmo