Search found 11 matches
- Thu Aug 11, 2005 22:57
- Forum: Modifications / Integrations / Customisations
- Topic: The best way to display lots of text.
- Replies: 7
- Views: 8316
The best way to display lots of text.
I recently switched some Widgets from Editbox to StaticText since the text was read-only anyways. In doing so, my rendering performance took a big it. I have lots of text being displayed, like a couple pages worth, and I'm wondering what Window is best for displaying that? Scrollbars are required - ...
- Wed Aug 10, 2005 21:09
- Forum: Modifications / Integrations / Customisations
- Topic: MultiColumnList Selection
- Replies: 4
- Views: 3876
Re: MultiColumnList Selection
..and so it does!
One more quick one that's related:
Is there a way to automatically scroll the MultiColumnList to the selected row? It looks like the ListBox does this with
?
One more quick one that's related:
Is there a way to automatically scroll the MultiColumnList to the selected row? It looks like the ListBox does this with
Code: Select all
ListBox::ensureItemIsVisible()
?
- Wed Aug 10, 2005 02:52
- Forum: Modifications / Integrations / Customisations
- Topic: MultiColumnList Selection
- Replies: 4
- Views: 3876
MultiColumnList Selection
Hi,
Is there an easy way, in code, to select an entire row? For example, I want the 3rd row to be selected by default.
I was hoping to see something like:
Is there an easy way, in code, to select an entire row? For example, I want the 3rd row to be selected by default.
I was hoping to see something like:
Code: Select all
list->setRowSelectState(3, true);
- Thu Jul 28, 2005 23:30
- Forum: Modifications / Integrations / Customisations
- Topic: Formatting Static Text
- Replies: 13
- Views: 14163
Re: Formatting Static Text
Err, yeah. Cut & Paste error.
..and no, breaking the xml line in two doesn't seem to do much.
Any other ideas?
..and no, breaking the xml line in two doesn't seem to do much.
Any other ideas?
- Thu Jul 28, 2005 16:16
- Forum: Modifications / Integrations / Customisations
- Topic: Formatting Static Text
- Replies: 13
- Views: 14163
Re: Formatting Static Text
...erg, okay that was easy. This works: myStaticText->setText("this is how I \n use a newline"); but this doesn't: <Window Type="WindowsLook/StaticText" Name="RadioDialogText"> <Property Name="RelativeRect" Value="l:0.05 t:0.250000 r:0.95 b:0.9000...
- Thu Jul 28, 2005 15:09
- Forum: Modifications / Integrations / Customisations
- Topic: Formatting Static Text
- Replies: 13
- Views: 14163
Re: Formatting Static Text
...on a slightly similiar note, is there a way to embed newlines in the text for a StaticText Window?
I am hoping for something like:
I am hoping for something like:
Code: Select all
myStaticText->setText("this is how I \n use a newline");
- Thu Jul 21, 2005 00:00
- Forum: Modifications / Integrations / Customisations
- Topic: TabControl and TabPane
- Replies: 2
- Views: 2424
Re: TabControl and TabPane
That's the ticket!
1) Create a TabControl
2) Create a DefaultWindow
3) defaultWindow->setText("tab name");
4) Add Windows to the DefaultWindow
5) TabControl->addChildWindow( defaultWindow )
6) repeat as required.
Thanks!
1) Create a TabControl
2) Create a DefaultWindow
3) defaultWindow->setText("tab name");
4) Add Windows to the DefaultWindow
5) TabControl->addChildWindow( defaultWindow )
6) repeat as required.
Thanks!
- Tue Jul 19, 2005 19:05
- Forum: Modifications / Integrations / Customisations
- Topic: TabControl and TabPane
- Replies: 2
- Views: 2424
TabControl and TabPane
Howdy. So I'm trying to get the Tab widget working in my app, but having trouble getting widgets to display *in* the TabPanes. I'm under the assumption I should: 1) Create a TabControl 2) Create TabPanes, calling TabControl->addTab() 3) Create widgets and add them to each TabPane by TabPane->addChil...
- Wed Jul 06, 2005 16:48
- Forum: Modifications / Integrations / Customisations
- Topic: Combobox Craziness
- Replies: 4
- Views: 3408
Re: Combobox Craziness
Perfect. All it well now!
Thanks,
Erik
Thanks,
Erik
- Tue Jul 05, 2005 22:42
- Forum: Modifications / Integrations / Customisations
- Topic: Combobox Craziness
- Replies: 4
- Views: 3408
Re: Combobox Craziness
Yup, changing the ListboxTextItem colour did the trick!
One more related question:
How do I get the Combobox to display a default ListboxTextItem?
Thanks!
One more related question:
How do I get the Combobox to display a default ListboxTextItem?
Thanks!
- Fri Jul 01, 2005 03:58
- Forum: Modifications / Integrations / Customisations
- Topic: Combobox Craziness
- Replies: 4
- Views: 3408
Combobox Craziness
I'm having some issues with displaying a Combobox and have run out of ideas. I create the Combobox and ListboxTextItems as shown below: CEGUI::Combobox *b = (CEGUI::Combobox*)wm->createWindow("WindowsLook/Combobox", "Listbox"); b->setPosition( CEGUI::Point(...