fixed alignment problems with some languages

This commit is contained in:
Bart Hakvoort 2004-09-26 20:37:07 +00:00
parent 7ffc4ac0ad
commit 5f549f8b57
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-09-26 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_Base_Partition.cc,
src/ Dialog_Partition_New.cc: fixed alignment problems with some languages
2004-09-26 Bart Hakvoort <gparted@users.sf.net> 2004-09-26 Bart Hakvoort <gparted@users.sf.net>
* src/Win_GParted.cc: fixed bug that occured while converting the filesystem of a new partition * src/Win_GParted.cc: fixed bug that occured while converting the filesystem of a new partition

View File

@ -117,7 +117,7 @@ void Dialog_Base_Partition::Set_Resizer( bool extended )
//connect signals //connect signals
frame_resizer_base ->signal_resize .connect ( sigc::mem_fun( this, &Dialog_Base_Partition::on_signal_resize) ); frame_resizer_base ->signal_resize .connect ( sigc::mem_fun( this, &Dialog_Base_Partition::on_signal_resize) );
hbox_resizer .pack_start( *frame_resizer_base, Gtk::PACK_SHRINK ); hbox_resizer .pack_start( *frame_resizer_base, Gtk::PACK_EXPAND_PADDING );
this ->show_all_children() ; this ->show_all_children() ;
} }

View File

@ -50,7 +50,8 @@ void Dialog_Partition_New::Set_Data( const Partition & partition, bool any_exten
/*TO TRANSLATORS: used as label for a list of choices. Create as: <optionmenu with choices> */ /*TO TRANSLATORS: used as label for a list of choices. Create as: <optionmenu with choices> */
label_type.set_text( (Glib::ustring) _("Create as:") + "\t" ); label_type.set_text( (Glib::ustring) _("Create as:") + "\t" );
table_create.attach( label_type, 0,1,0,1,Gtk::SHRINK); label_type .set_alignment( Gtk::ALIGN_LEFT ) ;
table_create.attach( label_type, 0,1,0,1,Gtk::FILL);
//fill partitiontype menu //fill partitiontype menu
menu_type.items().push_back(Gtk::Menu_Helpers::MenuElem( "Primary") ) ; menu_type.items().push_back(Gtk::Menu_Helpers::MenuElem( "Primary") ) ;
@ -77,7 +78,8 @@ void Dialog_Partition_New::Set_Data( const Partition & partition, bool any_exten
//filesystems to choose from //filesystems to choose from
label_filesystem.set_text( (Glib::ustring) _("Filesystem:") + "\t" ); label_filesystem.set_text( (Glib::ustring) _("Filesystem:") + "\t" );
table_create.attach( label_filesystem, 0,1,1,2,Gtk::SHRINK); label_filesystem .set_alignment( Gtk::ALIGN_LEFT ) ;
table_create.attach( label_filesystem, 0,1,1,2,Gtk::FILL);
Build_Filesystems_Menu() ; Build_Filesystems_Menu() ;