Commit a99ae6b9 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:CounterBox): Change the shadow type to Gtk::SHADOW_ETCHED_IN. Still looks

* src/statusline.cc (CounterBox::CounterBox): Change the shadow
type to Gtk::SHADOW_ETCHED_IN.  Still looks somewhat ugly though;
I need to think of something better.  Also enable the single line
mode property of the numeric labels, in order to avoid resizing if
the digits in the font have different height.
(StatusLine::StatusLine): Increase HBox spacing to 3 pixels.

svn path=/trunk/; revision=642
parent 42586130
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* src/statusline.cc (CounterBox::CounterBox): Change the shadow
type to Gtk::SHADOW_ETCHED_IN. Still looks somewhat ugly though;
I need to think of something better. Also enable the single line
mode property of the numeric labels, in order to avoid resizing if
the digits in the font have different height.
(StatusLine::StatusLine): Increase HBox spacing to 3 pixels.
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* src/filetree.cc (regexxer_create_file_tree): Prefix function
......
......@@ -86,7 +86,7 @@ CounterBox::CounterBox(const Glib::ustring& label)
{
using namespace Gtk;
set_shadow_type(SHADOW_IN);
set_shadow_type(SHADOW_ETCHED_IN);
Box *const paddingbox = new HBox(false, 0);
add(*manage(paddingbox));
......@@ -104,6 +104,9 @@ CounterBox::CounterBox(const Glib::ustring& label)
label_count_ = new Label("", 0.0, 0.5);
box->pack_start(*manage(label_count_), PACK_SHRINK);
label_index_->set_single_line_mode(true);
label_count_->set_single_line_mode(true);
label_index_->signal_style_changed().connect(
sigc::mem_fun(*this, &CounterBox::on_label_style_changed));
......@@ -236,7 +239,7 @@ void CounterBox::on_label_style_changed(const Glib::RefPtr<Gtk::Style>&)
StatusLine::StatusLine()
:
Gtk::HBox(false, 1),
Gtk::HBox(false, 3),
stop_button_ (0),
progressbar_ (0),
file_counter_ (0),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment