Squeeze a save button on the default camera floater (and why does the gear button not look like a button???)

master
Ansariel 2020-07-28 17:04:06 +02:00
parent b0ecec1cae
commit e01090187f
4 changed files with 22 additions and 40 deletions

View File

@ -50,7 +50,7 @@
</panel_camera_item>
</panel>
<combo_box name="preset_combo">
<combo_box.item label="Voreinstellung verwenden" name="Use preset"/>
<combo_box.item label="Voreinstell. verw." name="Use preset"/>
</combo_box>
<button name="gear_btn" tool_tip="Kamera-Voreinstellungen"/>
<button label="Position..." name="camera_position_btn"/>

View File

@ -223,7 +223,7 @@
mouse_opaque="true"
name="preset_combo"
top_pad="7"
width="122">
width="116">
<combo_list
mouse_wheel_opaque="true"/>
<combo_box.item
@ -232,43 +232,27 @@
value="default" />
</combo_box>
<button
height="16"
width="16"
height="23"
width="24"
layout="topleft"
mouse_opaque="true"
name="gear_btn"
tool_tip="Camera Presets"
top_delta="3"
top_delta="0"
left_pad="3"
image_selected="Icon_Gear"
image_pressed="Icon_Gear"
image_unselected="Icon_Gear"
image_overlay="Icon_Gear"
is_toggle="true">
<button.commit_callback
function="CameraPresets.ShowPresetsList"/>
</button>
<!--
<button
follows="top|left"
height="23"
label="Save as preset..."
layout="topleft"
left="0"
name="save_preset_btn"
top_pad="7"
width="143">
<button.commit_callback
function="CameraPresets.Save"/>
</button>
-->
<button
follows="top|left"
height="23"
label="Position..."
layout="topleft"
left_delta="-125"
left_delta="-119"
name="camera_position_btn"
top_pad="9"
top_pad="5"
width="70">
<button.commit_callback
function="Floater.Show"

View File

@ -48,10 +48,11 @@
<panel_camera_item.text name="reset_view_text">
</panel_camera_item.text>
</panel_camera_item>
<button label="Position..." name="camera_position_btn"/>
<button label="Position..." name="camera_position_btn"/>
</panel>
<combo_box name="preset_combo">
<combo_box.item label="Voreinstellung verwend." name="Use preset"/>
<combo_box.item label="Voreinstellung verw." name="Use preset"/>
</combo_box>
<button name="gear_btn" tool_tip="Kamera-Voreinstellungen"/>
<button name="save_preset_btn" tool_tip="Als Voreinstellung speichern"/>
</floater>

View File

@ -235,7 +235,7 @@ legacy_header_height="0"
height="23"
mouse_opaque="true"
name="preset_combo"
width="162">
width="135">
<combo_list
mouse_wheel_opaque="true"/>
<combo_box.item
@ -244,33 +244,30 @@ legacy_header_height="0"
value="default" />
</combo_box>
<button
height="16"
width="16"
height="23"
width="24"
layout="topleft"
mouse_opaque="true"
name="gear_btn"
tool_tip="Camera Presets"
top_delta="3"
left_pad="8"
image_selected="Icon_Gear"
image_pressed="Icon_Gear"
image_unselected="Icon_Gear"
top_delta="0"
left_pad="3"
image_overlay="Icon_Gear"
is_toggle="true">
<button.commit_callback
function="CameraPresets.ShowPresetsList"/>
</button>
<!--
<button
follows="top|left"
height="23"
label="Save as preset..."
layout="topleft"
left="0"
left_pad="3"
name="save_preset_btn"
top_pad="7"
width="143">
tool_tip="Save as Preset"
image_overlay="Activate_Checkmark"
top_delta="0"
width="24">
<button.commit_callback
function="CameraPresets.Save"/>
</button>
-->
</floater>