[Gambas-user] PB in GTK
Jean-Yves F. Barbier
12ukwn at ...626...
Thu Jul 16 05:34:36 CEST 2009
Benoît Minisini a écrit :
>> Benoît Minisini a écrit :
>>>> Hi,
>>>>
>>>> I've got a PB on display with GTK: on a DataBrowse some fields have a 0
>>>> width and thus are hidden, under Qt display is Ok, under Gtk I found all
>>>> hidden fields' names in the header.
>>>>
>>>> The police isn't respected either.
>>>>
>>>> JY
>>>>
>>>> PS: Sorry for the attachment, but talking graphics...
>>> Are you displaying a specific table?
>> Yep
>>
>>> Can you send me the SQL definition of the table?
>> CREATE DOMAIN DA_LABEL_S AS VARCHAR(6)
>> NOT NULL CHECK(char_length(VALUE) > 0);
>>
>> CREATE TABLE civility (
>> id SERIAL UNIQUE PRIMARY KEY,
>> label DA_LABEL_S UNIQUE,
>> front BOOLEAN NOT NULL DEFAULT TRUE,
>> date_cre DD_TS NOT NULL DEFAULT now(),
>> date_mod DD_TS DEFAULT NULL,
>> mri_user_cre INTEGER NOT NULL,
>> mri_user_mod INTEGER DEFAULT NULL
>> ) WITHOUT OIDS;
>>
>>> How you created it and the database driver you used?
>> CREATED: sql text script (same syntax than above)
>> DRV: postgresql
>> PG VER.: 8.3.7-0lenny1
>> BROCHETTE VER.: 2.13.1-1 (package Debian sid)
>>
>> JY
>
> Can you provide me the code too ?
form & class attached
--
-------------- next part --------------
# Gambas Form File 2.0
{ Form Form
MoveScaled(0,0,34,45)
Text = ("")
{ datsrcCiv DataSource
MoveScaled(0,0,34,44)
Table = "civility"
{ datbroCiv DataBrowser
MoveScaled(1,3,32,29)
Font = Font["Courier 10 Pitch"]
Expand = True
Control = False
Columns = ["id", "label", "date_cre", "date_mod", "mri_user_cre", "mri_user_mod", "front"]
}
{ ToolButtonNew ToolButton
MoveScaled(1,0,3,3)
ToolTip = ("Nouveau")
Text = ("")
Picture = Picture["Icons/document-new.png"]
}
{ ToolButtonModif ToolButton
MoveScaled(5,0,3,3)
ToolTip = ("Modification")
Text = ("")
Picture = Picture["Icons/document-properties.png"]
}
{ ToolButtonDelete ToolButton
MoveScaled(9,0,3,3)
ToolTip = ("Supprimer")
Text = ("")
Picture = Picture["Icons/edit-delete.png"]
}
{ HBox_Inputs HBox
MoveScaled(2,33,31,10)
Enabled = False
{ VBox1 VBox
MoveScaled(1,0,13,10)
{ Label1 Label
MoveScaled(1,0,12,3)
Text = ("Libell\xC3\xA9")
}
{ Label2 Label
MoveScaled(1,4,12,3)
Text = ("Devant ?")
}
{ Button1 Button
MoveScaled(1,7,12,3)
Text = ("&Annuler")
}
}
{ VBox2 VBox
MoveScaled(15,0,15,10)
{ DataControl_Label DataControl
MoveScaled(1,0,13,3)
Field = "label"
}
{ DataControl2 DataControl
MoveScaled(1,4,8,3)
Field = "front"
}
{ Button2 Button
MoveScaled(1,7,13,3)
Text = ("&Ok")
}
}
}
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FCivility.class
Type: application/java-vm
Size: 1679 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090716/17683a91/attachment.class>
More information about the User
mailing list