mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
minor fixes to gtk graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9154 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e367172256
commit
8f7d6cae4e
@ -402,11 +402,12 @@ void GGraphics::update() {
|
||||
updateComboFromLength(heightunitscombo_, igp.height);
|
||||
|
||||
if (!float_equal(igp.scale, 0.0, 0.05)) {
|
||||
//scaling sizing mode
|
||||
// scaling sizing mode
|
||||
setscalingradio_->set_active(true);
|
||||
} else {
|
||||
setsizeradio_->set_active(true);
|
||||
}
|
||||
onSizingModeChange();
|
||||
|
||||
aspectcheck_->set_active(igp.keepAspectRatio);
|
||||
draftcheck_->set_active(igp.draft);
|
||||
@ -440,6 +441,7 @@ void GGraphics::update() {
|
||||
notebook_->set_current_page(0);
|
||||
}
|
||||
|
||||
|
||||
bc().input(ButtonPolicy::SMI_INVALID);
|
||||
}
|
||||
|
||||
|
@ -380,7 +380,7 @@
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
@ -613,6 +613,7 @@ Do not display</property>
|
||||
<child>
|
||||
<widget class="GtkSpinButton" id="Width">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="digits">0</property>
|
||||
@ -634,6 +635,7 @@ Do not display</property>
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="MaintainAspectRatio">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_Maintain aspect ratio</property>
|
||||
<property name="use_underline">True</property>
|
||||
@ -798,6 +800,7 @@ Do not display</property>
|
||||
<child>
|
||||
<widget class="GtkComboBox" id="WidthUnits">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
@ -812,6 +815,7 @@ Do not display</property>
|
||||
<child>
|
||||
<widget class="GtkComboBox" id="HeightUnits">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
@ -862,6 +866,7 @@ Do not display</property>
|
||||
<child>
|
||||
<widget class="GtkSpinButton" id="Height">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="digits">0</property>
|
||||
@ -1541,7 +1546,7 @@ Do not display</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
@ -1594,7 +1599,7 @@ Do not display</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
Loading…
Reference in New Issue
Block a user