From 925e505f77802955f831b8d32b390ad24ee3db07 Mon Sep 17 00:00:00 2001 From: Refael Sheinker Date: Sat, 11 Feb 2017 20:55:50 +0000 Subject: [PATCH] Make the Name Partition dialog a bit bigger (#778003) Increase the size of the Name Partition dialog, matching the change made to the Label File System dialog in the previous commit. The code for the Name Partition dialog was basically copied from the Label File System dialog. Bug 778003 - The "Label File System" dialog is too small --- src/Dialog_Partition_Name.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dialog_Partition_Name.cc b/src/Dialog_Partition_Name.cc index 37cc274f..da2b5cda 100644 --- a/src/Dialog_Partition_Name.cc +++ b/src/Dialog_Partition_Name.cc @@ -24,7 +24,7 @@ Dialog_Partition_Name::Dialog_Partition_Name( const Partition & partition, int m { this->set_resizable( false ); this->set_has_separator( false ); - this->set_size_request( 300, 80 ); + this->set_size_request( 400, -1 ); /* TO TRANSLATORS: dialog title, looks like Set partition name on /dev/hda3 */ this->set_title( String::ucompose( _("Set partition name on %1"), partition.get_path() ) ); @@ -51,7 +51,7 @@ Dialog_Partition_Name::Dialog_Partition_Name( const Partition & partition, int m // certain extended characters this limit will be too generous. entry->set_max_length( max_length ); - entry->set_width_chars( 20 ); + entry->set_width_chars( 30 ); entry->set_activates_default( true ); entry->set_text( partition.name ); entry->select_region( 0, entry->get_text_length() );