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 --
# 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") } } } } }
FCivility.class
Description: application/java-vm
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user