fixed small bug with overlapping text

This commit is contained in:
Bart Hakvoort 2004-09-25 22:16:19 +00:00
parent 45603da944
commit c5491cdd8f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-09-25 Bart Hakvoort <gparted@users.sf.net>
* src/Win_GParted.h,
src/Win_GParted.cc: removed expander. The diskinfo is now always visible.
* src/Dialog_Partition_Info.cc: fixed small bug with overlapping text.
2004-09-25 Bart Hakvoort <gparted@users.sf.net> 2004-09-25 Bart Hakvoort <gparted@users.sf.net>
* Dialog_About.cc: made "Translated by" tab a bit more sensible, also added an translator-credits string. * Dialog_About.cc: made "Translated by" tab a bit more sensible, also added an translator-credits string.

View File

@ -185,7 +185,7 @@ void Dialog_Partition_Info::Display_Info()
} }
label ->set_text( label ->get_text() + "\n" ) ; os << "\n"; //splitter :P label ->set_text( label ->get_text() + "\n" ) ; os << "\t\t\t\t\n"; //splitter and gives the second column a min. width (needed for %)
label ->set_text( label ->get_text() + (Glib::ustring) _("First Sector:" ) + "\n" ) ; os << partition.sector_start << "\n"; label ->set_text( label ->get_text() + (Glib::ustring) _("First Sector:" ) + "\n" ) ; os << partition.sector_start << "\n";
label ->set_text( label ->get_text() + (Glib::ustring) _("Last Sector:" ) + "\n" ) ; os << partition.sector_end << "\n"; label ->set_text( label ->get_text() + (Glib::ustring) _("Last Sector:" ) + "\n" ) ; os << partition.sector_end << "\n";
@ -200,8 +200,9 @@ void Dialog_Partition_Info::Display_Info()
table ->attach( *label, 1,2,0,1,Gtk::SHRINK); table ->attach( *label, 1,2,0,1,Gtk::SHRINK);
label = manage( new Gtk::Label( ) ) ; label = manage( new Gtk::Label( ) ) ;
label ->set_alignment( Gtk::ALIGN_RIGHT ) ;
label ->set_markup( os_percent.str() + "\n\n\n\n" ) ; os_percent.str("") ; label ->set_markup( os_percent.str() + "\n\n\n\n" ) ; os_percent.str("") ;
table ->attach( *label, 1,2,0,1,Gtk::SHRINK); table ->attach( *label, 1,2,0,1,Gtk::FILL);
} }
void Dialog_Partition_Info::Find_Status() void Dialog_Partition_Info::Find_Status()