16 June 2014, 21:22 | #1 |
Registered User
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 52
Posts: 204
|
ListBrowser column width
I have a listbrowser set up with 5 columns. I can specify the width in my ColumnInfo using the "old" method
Code:
struct ColumnInfo colInfo1_0[]= { { 22, "", CIF_FIXED }, { 250, "Name", CIF_FIXED|CIF_DRAGGABLE|CIF_SORTABLE }, { 60, "Time", CIF_FIXED|CIF_DRAGGABLE|CIF_SORTABLE }, { 60, "Date", CIF_FIXED|CIF_DRAGGABLE|CIF_SORTABLE }, { 60, "Notes", CIF_FIXED|CIF_DRAGGABLE|CIF_SORTABLE }, { -1, (STRPTR)~0, -1 } }; What I can't get to work is when the column width is adjusted, the new width is not set in the ColumnInfo; it is still at the original width. Either by Code:
Prefs->Col1_0_1Width=colInfo1_0[1].ci_Width Code:
GetLBColumnInfoAttrs(colInfo1_0, LBCIA_Column, 1, LBCIA_Width, &Prefs->Col1_0_1Width, TAG_DONE); |
08 August 2017, 07:03 | #2 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,631
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get Gadget Width | mritter0 | Coders. C/C++ | 2 | 11 June 2014 02:27 |
Width adjustment stopped working on 1084S-P2. | e5frog | support.Hardware | 3 | 17 April 2014 23:16 |
Fs: Zip Ram Mem (FP & Static Column) - FPU PLCC - SCSI AM33C93A | LTAC | MarketPlace | 2 | 13 January 2011 00:41 |
from The Column by Beyond | s2325 | request.Modules | 3 | 02 September 2010 21:29 |
Decent fixed width fonts. | killergorilla | request.Other | 29 | 02 February 2007 19:16 |
|
|